OFFSET
1,1
COMMENTS
If n=primepi(2^k-1) is in this sequence, then A158671(k) is prime. This happens for k=5, 6, 18,... corresponding to n=11, 18, 23000,... (cf. link).
LINKS
C. Caldwell, G. L. Honaker, Editors: Prime curio!: 18 by J. Vos Post.
PROG
(PARI) s=0; for(n=1, 999, isprime(n*#(b=binary(prime(n)))-s+=norml2(b)) & print1(n", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Nov 21 2009
STATUS
approved