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!)
A211972 Prime numbers which cannot become prime by removing any number of initial binary digits. 1
2, 3, 5, 17, 41, 73, 89, 97, 137, 193, 257, 281, 313, 409, 521, 569, 577, 641, 673, 761, 929, 953, 1033, 1049, 1153, 1289, 1409, 1657, 1721, 1801, 1913, 2081, 2113, 2297, 2593, 2713, 3137, 3257, 3361, 3449, 3617, 4129, 4153, 4217, 4481, 4513, 4729, 4793, 4993, 5113, 5153 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
In binary: 10, 11, 101, 10001, 101001, 1001001, 1011001, 1100001, 10001001, 11000001, 100000001, 100011001, 100111001, 110011001, 1000001001, 1000111001, 1001000001, 1010000001, ....
Smallest k > 1 such that n written in base k that cannot become prime (written in base k) by chopping off any of the initial consecutive digits: 2, 2, 2, 2, 2, 2, 3, 3, 2, 2, 3, 5, 2, 3, 5, 3, 2, 2, 3, 3, 2, 5, 3, 11, 2, 2, 5, 3, 2, 5, 6, 3, 2, 2, 5, 5, 2, 3, 8, 5, 2, 2, 3, 7,...
LINKS
EXAMPLE
89 = 1011001_2 qualifies because none of 11001_2, 1001_2, and 1_2 are prime.
PROG
(PARI) A053644(n)=my(k=1); while(k<=n, k<<=1); k>>1
is(n)=isprime(n)&&while(n-=A053644(n), if(isprime(n), return(0))); 1
\\ Charles R Greathouse IV, Feb 20 2013
CROSSREFS
Sequence in context: A270539 A053182 A348153 * A339855 A076706 A243441
KEYWORD
nonn,base
AUTHOR
Irina Gerasimova, Feb 13 2013
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 May 4 05:37 EDT 2024. Contains 372230 sequences. (Running on oeis4.)