OFFSET
1,1
COMMENTS
Next terms have 145, 196, 242, 519, ... digits.
EXAMPLE
Base 2: 1,10,11,100,101,110,111,1000,...; first 2 digits: 11 -> 3; first 4 digits: 1101 -> 13.
MAPLE
P:=proc(i) local a, b, j, k, len, n; j:=0; for n from 1 by 1 to i do a:=convert(n, binary); len:=length(a); while len>0 do len:=len-1; b:=trunc(10*frac(trunc(a/10^len)/10)); j:=j*10; if b=1 then j:=j+1; k:=convert(j, decimal, binary); if isprime(k) then print(k); fi; fi; od; od; end: P(500);
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Paolo P. Lava & Giorgio Balzarotti, Mar 16 2010
STATUS
approved