login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A036943 Smallest n-digit prime containing only the digits 3 and 8, or 0 if no such prime exists. 1
3, 83, 383, 3833, 38333, 333383, 3333383, 38383883, 333388333, 3333333833, 33333333833, 333338838383, 3333333333383, 33333333888383, 333333333388883, 3333333333838883, 33333333333833383, 333333333333333833 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Table[SelectFirst[FromDigits[Join[#, {3}]]&/@Tuples[{3, 8}, n], PrimeQ], {n, 0, 20}] /.Missing["NotFound"]->0 (* Harvey P. Dale, Aug 27 2022 *)
CROSSREFS
Sequence in context: A201963 A261434 A020464 * A178001 A173811 A093166
KEYWORD
nonn,base
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 25 01:38 EDT 2024. Contains 373691 sequences. (Running on oeis4.)