login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A234999 Primes p such that the p-th evil numbers is prime; 2 together with evil primes p such that 2p - 1 is prime. 1

%I #10 Jan 11 2014 16:27:03

%S 2,3,139,337,547,619,691,811,937,1237,1297,1399,1429,2089,2179,2221,

%T 2281,2467,2539,2617,2707,2719,2791,2851,3019,3067,3499,3739,3769,

%U 4027,4177,4357,4447,4567,4951,5431,5479,5557,5581,5749,6037,6229,6379,6421,6691,6841,7507

%N Primes p such that the p-th evil numbers is prime; 2 together with evil primes p such that 2p - 1 is prime.

%C This sequence is the intersection of A005382 and A027699.

%H Charles R Greathouse IV, <a href="/A234999/b234999.txt">Table of n, a(n) for n = 1..10000</a>

%e 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.

%o (PARI) is(n)=isprime(n) && isprime(2*n--+hammingweight(n)%2) \\ _Charles R Greathouse IV_, Jan 02 2014

%Y Cf. A057738, A232667.

%K nonn

%O 1,1

%A _Antti Karttunen_ and _Juri-Stepan Gerasimov_, Jan 02 2014

%E a(28) inserted by _Charles R Greathouse IV_, Jan 02 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)