Sponsored links: Algebra eBooks
 

Related

integer_partitions-length

length(integer_partit...

Calculate

integer_partitions-length

length(integer_partit...

Calculate

integer_partitions-length

length ( integer_part...

Calculate

integer_partitions

integer_partitions (1...

Calculate

integer_partitions

s: integer_partitions...

Calculate

integer_partitions

s: integer_partitions...

Calculate

integer_partitions

integer_partitions (5...

Calculate

integer_partitions

integer_partitions (2...

Calculate

integer_partitions

integer_partitions (4...

Calculate

integer_partitions-length

length(integer_partit...

Calculate

integer_partitions

Run Example
(%i1)xprimep(x) := integerp(x) and (x <
 32);
(%o1)               xprimep(x) := integerp(x) and (x < 32)
(%i2) cardinality (subset (integer_partitions(30,3), lambda ([x], every (xprimep, x))));
(%o2)                                 91
(%i3) 
Run Example
num_partitions (5) = cardinality (integer_partitions (5));
(%o1)                                7 = 7
(%i2)  num_partitions (8, list);
(%o2)                   [1, 1, 2, 3, 5, 7, 11, 15, 22]
(%i3)  num_partitions (n);
(%o3)                          num_partitions(n)
(%i4) 
Run Example
num_partitions (5) = cardinality (integer_partitions (5));
(%o1)                                7 = 7
(%i2)  num_partitions (8, list);
(%o2)                   [1, 1, 2, 3, 5, 7, 11, 15, 22]
(%i3)  num_partitions (6);
(%o3)                                 11
(%i4) 

Related Help

Help for Integer_partitions