Andrew Mathas on Fri, 21 Sep 2012 03:51:53 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Computing the number of partition tuples...


Hi,

I am using pari (through sage) to compute the number of k-tuples of partitions which sum to n. The relevant command to compute the number of 2-tuples of partitions of 16 inside pari is
? polcoeff(1/eta(x)^2, 16, x)
5822
which is correct. However, when I try to compute the number of 2-tuples of partitions of 17 (which is 8470) then I get
? polcoeff(1/eta(x)^2, 17, x)
  ***   at top-level: polcoeff(1/eta(x)^2,
  ***                 ^--------------------
  *** polcoeff: non existent component in truecoeff.
  ***   Break loop: type 'break' to go back to GP
Is this a bug or am I doing something wrong?

Cheers,
Andrew