A355705 Indices k of partition function p where p(k) and p(k) - 2 are twin primes.
4, 5, 186, 3542
Offset: 1
Examples
4 is a term because A000041(4) = 5, and 3 and 5 are twin primes. 5 is a term because A000041(5) = 7, and 5 and 7 are twin primes.
Programs
-
PARI
for(n=1, 3600, if(ispseudoprime(p=numbpart(n))&&ispseudoprime(p-2), print1(n, ", ")))
Comments