|
|
A035142
|
|
Numbers n with property that number of partitions-into-distinct-parts of n is a perfect square.
|
|
2
|
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
Next term, if it exists, is greater than 50000. - David Wasserman, Aug 06 2002
|
|
LINKS
|
|
|
MATHEMATICA
|
okQ[n_] := IntegerQ[Sqrt[PartitionsQ[n]]]; Select[Range[10000], okQ] (* Harvey P. Dale, Mar 13 2011 *)
|
|
PROG
|
(PARI) q(n)= polcoeff(prod(k=1, n, 1+x^k, 1+x*O(x^n)), n)
for(n=0, 1000, if(issquare(q(n)), print1(n, ", ")))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|