login
A035142
Numbers n with property that number of partitions-into-distinct-parts of n is a perfect square.
2
0, 1, 2, 6, 20, 29, 46
OFFSET
1,3
COMMENTS
Next term, if it exists, is greater than 50000. - David Wasserman, Aug 06 2002
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
Cf. A000009.
Sequence in context: A267124 A322371 A131441 * A064701 A368249 A181558
KEYWORD
nonn
EXTENSIONS
Entry revised by N. J. A. Sloane, Jul 23 2006
STATUS
approved