Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A036229
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A036229 Smallest n-digit prime containing only digits 1 and 2. +0
25
2, 11, 211, 2111, 12211, 111121, 1111211, 11221211, 111112121, 1111111121, 11111121121, 111111211111, 1111111121221, 11111111112221, 111111112111121, 1111111112122111, 11111111111112121, 111111111111112111, 1111111111111111111 (list; graph; listen)
OFFSET

1,1

COMMENT

It is conjectured that such a prime always exists.

a(2), a(19), a(23), etc. are the prime repunits (A004023). a(1000) = (10^n-1)/9 + 111011000010.

LINKS

Robert G. Wilson v, Comments and first 100 terms

MATHEMATICA

Do[p = (10^n - 1)/9; k = 0; While[ ! PrimeQ[p], k++; p = FromDigits[ PadLeft[ IntegerDigits[k, 2], n] + 1]]; Print[p], {n, 1, 20}]

CROSSREFS

Cf. A036937, A068086.

Sequence in context: A051663 A070256 A020450 this_sequence A104337 A042805 A088639

Adjacent sequences: A036226 A036227 A036228 this_sequence A036230 A036231 A036232

KEYWORD

nonn,base,nice

AUTHOR

G. L. Honaker, Jr. (honak3r(AT)gmail.com)

EXTENSIONS

Edited by N. J. A. Sloane (njas(AT)research.att.com) and Robert G. Wilson v (rgwv(AT)rgwv.com), May 03 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 16 13:01 EST 2009. Contains 170825 sequences.


AT&T Labs Research