login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139535 Smallest prime starting with 1 that contains exactly n 0's. 2
101, 1009, 10007, 100003, 1000003, 100000037, 100000007, 1000000007, 100000000019, 100000000003, 10000000000037, 100000000000031, 1000000000000037, 10000000000000061, 100000000000000013 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..100

MATHEMATICA

sp0[n_]:=Module[{c=1, d}, While[d=FromDigits[Join[PadRight[{1}, n+1, 0], IntegerDigits[ c]]]; DigitCount[d, 10, 0]>n||CompositeQ[d], c=c+2]; FromDigits[ Join[ PadRight[ {1}, n+1, 0], IntegerDigits[c]]]]; Array[sp0, 20] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Aug 30 2020 *)

CROSSREFS

Cf. A037053, A003617, A139536.

Sequence in context: A164842 A082276 A069597 * A139536 A115820 A115773

Adjacent sequences:  A139532 A139533 A139534 * A139536 A139537 A139538

KEYWORD

nonn,base

AUTHOR

Lekraj Beedassy, Apr 25 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 2 07:40 EST 2020. Contains 338868 sequences. (Running on oeis4.)