login
A347799
Number of compositions (ordered partitions) of n into at most 6 nonprime parts.
4
1, 1, 1, 1, 2, 3, 5, 6, 10, 16, 19, 31, 44, 52, 86, 101, 148, 206, 237, 350, 441, 551, 743, 900, 1151, 1470, 1782, 2216, 2762, 3287, 4072, 4894, 5835, 7052, 8362, 9856, 11758, 13710, 16066, 18791, 21799, 25271, 29192, 33583, 38485, 44178, 50304
OFFSET
0,5
MATHEMATICA
Table[Length@Flatten[Permutations/@IntegerPartitions[n, 6, Select[Range@n, !PrimeQ@#&]], 1], {n, 0, 46}] (* Giorgos Kalogeropoulos, Sep 14 2021 *)
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Sep 14 2021
STATUS
approved