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!)
A036940 Smallest n-digit prime containing only digits 3 and 4, or 0 if no such prime exists. 2
3, 43, 433, 3343, 33343, 333433, 3333433, 34333333, 333334333, 3333334343, 33333333343, 333333343333, 3333333333433, 33333333433333, 333333333334343, 3333333333333343, 33333333333433433, 333333333333334343 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Table[SelectFirst[FromDigits/@Tuples[{3, 4}, n], PrimeQ], {n, 18}] (* The program uses the SelectFirst function from Mathematica version 10 *) (* Harvey P. Dale, May 29 2015 *)
CROSSREFS
Sequence in context: A199340 A020461 A138974 * A099664 A173770 A093163
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 April 20 00:03 EDT 2024. Contains 371798 sequences. (Running on oeis4.)