Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Generator of integer partitionts of n

by kvale (Monsignor)
on Aug 28, 2004 at 02:35 UTC ( #386540=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $integer = 5;
    my @p;
    ...
          part( $n-$k, $j, $t+1);
       }
    }
    
  2. or download this
    1004% perl part.pl
    5
    ...
    2 2 1
    2 1 1 1
    1 1 1 1 1
    
  3. or download this
    my $integer = 5;
    my @p;
    ...
          part( $n-$k, $j, $t+1);
       }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://386540]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (14)
As of 2014-07-30 20:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (240 votes), past polls