|
|
A055011
|
|
a(n+1) = next smallest prime beginning with a(n) when written in binary, starting with 2.
|
|
4
|
|
|
2, 5, 11, 23, 47, 191, 383, 3067, 12269, 196307, 6281839, 50254717, 201018869, 804075479, 1608150959, 102921661397, 1646746582367, 13173972658937, 105391781271503, 210783562543007, 3372537000688127, 26980296005505019, 863369472176160611, 6906955777409284889
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
a(5)=191 because a(4)=47 which in binary is 101111, none of 1011110(94) 1011111(95) 10111100(188) 10111101(189) 10111110 (190) are prime, but 10111111(191) is.
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
option remember;
if n = 0 then
2 ;
else
end if;
|
|
PROG
|
(Haskell)
a055011 n = a055011_list !! n
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|