login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A096211
Primes of the form 10^n + 10^(n-3) - 1.
1
10009, 1000999, 10009999999999, 10009999999999999999999999999999999999, 10009999999999999999999999999999999999999999999999999999999999999, 10009999999999999999999999999999999999999999999999999999999999999999999999999
OFFSET
1,1
LINKS
MATHEMATICA
t={}; Do[m=n; p=10^n+10^(n-3)-1; If[PrimeQ[p], AppendTo[t, p]], {n, 300}]; t (* Vincenzo Librandi, Jul 17 2012 *)
PROG
(PARI) f(n, z) = for(x=z, n, y=10^x+10^(x-z)-1; if(ispseudoprime(y), print1(y", ")))
CROSSREFS
Sequence in context: A256838 A176931 A023335 * A190149 A052095 A033533
KEYWORD
nonn,easy
AUTHOR
Cino Hilliard, Jul 28 2004
STATUS
approved