OFFSET
1,3
COMMENTS
LINKS
T. D. Noe, Table of n, a(n) for n=1..2048
A. Karttunen and J. Moyer, C-program for computing the initial terms of this sequence
Samuel S. Wagstaff, Jr., Prime Numbers with a fixed number of one bits or zero bits in their binary representation, Exp. Math. vol. 10, issue 2 (2001) 267, Table 3. - From N. J. A. Sloane, Jun 19 2011.
Samuel S. Wagstaff, Jr., Prime Numbers with a fixed number of one bits or zero bits in their binary representation, Exp. Math. vol. 10, issue 2 (2001) 267, Table 3.
PROG
(PARI) a(n) = sum(k=2^n+1, 2^(n+1), isprime(k) && (#select(x->x==0, binary(k))==1)); \\ Michel Marcus, Sep 11 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 01 2004
STATUS
approved