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!)
A036934 Smallest n-digit prime containing only digits 1 and 7, or 0 if no such prime exists. 2
7, 11, 0, 1117, 11117, 0, 1111711, 11111117, 0, 1111117171, 11111111771, 0, 1111111111177, 11111111171177, 0, 1111111111171177, 11111111111111171, 0, 1111111111111111111, 11111111111111117111, 0, 1111111111111111111711 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Jinyuan Wang, Table of n, a(n) for n = 1..1000

MATHEMATICA

Flatten[Table[Select[FromDigits/@Tuples[{1, 7}, n], PrimeQ, 1], {n, 25}]/.{}->{0}] (* Jinyuan Wang, Mar 09 2020 *)

CROSSREFS

Cf. A020455, A036307, A036229.

Sequence in context: A282038 A133346 A091920 * A070421 A213671 A050081

Adjacent sequences:  A036931 A036932 A036933 * A036935 A036936 A036937

KEYWORD

nonn,base

AUTHOR

Patrick De Geest, Jan 04 1999

EXTENSIONS

a(16) corrected by Jinyuan Wang, Mar 09 2020

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 January 21 16:03 EST 2022. Contains 350479 sequences. (Running on oeis4.)