OFFSET
1,1
COMMENTS
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
EXAMPLE
13 is in the sequence because A000041(13^2-1) = 228204732751 is a prime.
PROG
(PARI) for(n=1, 2000, if(ispseudoprime(numbpart(n^2-1)), print1(n, ", ")))
(Python)
from itertools import count, islice
from sympy import isprime, npartitions
def A285087_gen(startvalue=1): # generator of terms >= startvalue
return filter(lambda n: isprime(npartitions(n**2-1)), count(max(startvalue, 1)))
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Serge Batalov, Apr 09 2017
STATUS
approved