

A234999


Primes p such that the pth evil numbers is prime; 2 together with evil primes p such that 2p  1 is prime.


1



2, 3, 139, 337, 547, 619, 691, 811, 937, 1237, 1297, 1399, 1429, 2089, 2179, 2221, 2281, 2467, 2539, 2617, 2707, 2719, 2791, 2851, 3019, 3067, 3499, 3739, 3769, 4027, 4177, 4357, 4447, 4567, 4951, 5431, 5479, 5557, 5581, 5749, 6037, 6229, 6379, 6421, 6691, 6841, 7507
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

This sequence is the intersection of A005382 and A027699.


LINKS

Charles R Greathouse IV, Table of n, a(n) for n = 1..10000


EXAMPLE

2 is a prime and A001969(2) = 3, a prime also, thus 2 is in this sequence; 3 is a prime and A001969(3) = 5, a prime also, thus 3 is in this sequence; 139 is a prime A001969(139) = 277, a prime also, thus 139 is this sequence.


PROG

(PARI) is(n)=isprime(n) && isprime(2*n+hammingweight(n)%2) \\ Charles R Greathouse IV, Jan 02 2014


CROSSREFS

Cf. A057738, A232667.
Sequence in context: A118169 A066908 A057738 * A254787 A042073 A124236
Adjacent sequences: A234996 A234997 A234998 * A235000 A235001 A235002


KEYWORD

nonn


AUTHOR

Antti Karttunen and JuriStepan Gerasimov, Jan 02 2014


EXTENSIONS

a(28) inserted by Charles R Greathouse IV, Jan 02 2014


STATUS

approved



