login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A036939 Smallest n-digit prime containing only digits 2 and 9, or 0 if no such prime exists. 0
2, 29, 229, 2999, 22229, 0, 2222929, 22229299, 222229229, 2222229299, 22222229299, 0, 2222222229229, 22222222222229, 222222222229229, 2222222222229299, 22222222222922299, 0, 2222222222222292929 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..19.

MATHEMATICA

Join[{2}, Table[Min[Select[FromDigits/@(Join[#, {9}]&/@Tuples[{2, 9}, n]), IntegerLength[#]==n+1&&PrimeQ[#]&]], {n, 20}]]/.\[Infinity]->0 (* Harvey P. Dale, Nov 08 2011 *)

CROSSREFS

Cf. A036229, A020460, A036313.

Sequence in context: A261268 A020460 A178000 * A124301 A276196 A077023

Adjacent sequences:  A036936 A036937 A036938 * A036940 A036941 A036942

KEYWORD

nonn,base,changed

AUTHOR

Patrick De Geest, Jan 04 1999

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 October 17 01:03 EDT 2019. Contains 328103 sequences. (Running on oeis4.)