login
A347760
Number of compositions (ordered partitions) of n into at most 5 prime parts (counting 1 as a prime).
2
1, 1, 2, 4, 7, 14, 25, 43, 66, 93, 124, 160, 198, 240, 274, 315, 353, 415, 464, 538, 577, 669, 718, 850, 887, 1031, 1043, 1238, 1250, 1495, 1435, 1692, 1584, 1943, 1817, 2251, 2011, 2529, 2261, 2939, 2561, 3287, 2720, 3596, 3005, 4077, 3304, 4505, 3545, 4995, 3966
OFFSET
0,3
MATHEMATICA
Table[Length@Flatten[Permutations/@IntegerPartitions[n, 5, Join[{1}, Prime@Range@PrimePi@n]], 1], {n, 0, 50}] (* Giorgos Kalogeropoulos, Sep 12 2021 *)
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Sep 12 2021
STATUS
approved