OFFSET
1,3
COMMENTS
Only a(1) and a(2) = 1.
EXAMPLE
29, the 10th prime, is 11101 in binary. The largest prime that is < 29 and whose binary representation occurs as a substring in this is 13 (1101 in binary), which occurs in binary 29 as follows: 1(1101). So a(10) = 13.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Leroy Quet, Mar 05 2010
EXTENSIONS
Extended by Ray Chandler, Mar 13 2010
STATUS
approved