A265835 Numbers n such that A015128(n)/2 is prime.
2, 4, 16, 36, 400, 1296, 1521, 52441
Offset: 1
Examples
4 is a term because A015128(4)/2 = 14/2 = 7 is prime.
Programs
-
Mathematica
Select[Range[2000], PrimeQ[Sum[PartitionsP[#-k]*PartitionsQ[k], {k, 0, #}]/2] &]
-
PARI
a015128(n) = polcoeff(exp(sum(m=1, n\2+1, 2*x^(2*m-1)/(1-x^(2*m-1)+x*O(x^n))/(2*m-1))), n); for(n=1, 1e3, if(ispseudoprime(a015128(n)/2), print1(n, ", "))) \\ Altug Alkan, Dec 16 2015
Comments