login
A347775
Number of compositions (ordered partitions) of n into at most 5 prime powers (including 1).
1
1, 1, 2, 4, 8, 16, 30, 55, 94, 151, 227, 326, 450, 603, 786, 1005, 1259, 1543, 1856, 2201, 2571, 2978, 3417, 3896, 4402, 4950, 5506, 6104, 6710, 7366, 8040, 8792, 9526, 10342, 11150, 12042, 12918, 13977, 14975, 16145, 17242, 18514, 19628, 21015, 22170, 23671, 24940
OFFSET
0,3
MATHEMATICA
Table[Length@Flatten[Permutations/@IntegerPartitions[n, 5, Join[{1}, Select[Range@n, PrimePowerQ]]], 1], {n, 0, 46}] (* Giorgos Kalogeropoulos, Sep 13 2021 *)
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Sep 13 2021
STATUS
approved