A355704 Indices k of partition function p where p(k) and p(k) + 2 are twin primes.
3, 4, 6, 13, 2335166
Offset: 1
Examples
13 is a term because A000041(13) = 101 is prime and 103 is prime.
Programs
-
PARI
for(n=1, 2500, if(ispseudoprime(p=numbpart(n))&&ispseudoprime(p+2), print1(n,", ")))
Comments