McLaughlin, James on Sat, 17 Jun 2006 05:13:11 +0200


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

Partitions question


Is there a command in pari/gp that takes a positive integer and outputs a list of the un-restricted partitions?
 
Failing that, does anyone have an efficient piece of code already worked out?
 
Thanks,
 
Jimmy Mc Laughlin.
 
Office: 323c Anderson
Office Phone: (610) 738 0585
E-mail: jmclaughl@wcupa.edu
Webpage: http://math.wcupa.edu/~mclaughlin/
 
"There is no greater mistake than to call arithmetic an exact science. ........... For instance, if you add a sum from the bottom up, and then from the top down, the result is always different." --Mrs La Touche, Mathematical Gazette, v. 12.