A285086 Numbers n such that the number of partitions of n^2+1 (=A000041(n^2+1)) is prime.
1, 2, 3914
Offset: 1
Examples
a(2) = 2 is in the sequence because A000041(2^2+1) = 7 is a prime.
Links
- Chris K. Caldwell, Top twenty prime partition numbers, The Prime Pages.
- Eric Weisstein's World of Mathematics, Partition Function P
- Eric Weisstein's World of Mathematics, Integer Sequence Primes
Programs
-
PARI
for(n=1,3920,if(ispseudoprime(numbpart(n^2+1)),print1(n,", ")))
Comments