|
|
A347796
|
|
Number of compositions (ordered partitions) of n into at most 3 nonprime parts.
|
|
5
|
|
|
1, 1, 1, 1, 1, 2, 4, 2, 5, 6, 8, 11, 8, 13, 17, 17, 23, 25, 27, 33, 38, 37, 50, 48, 58, 63, 73, 70, 89, 82, 107, 102, 122, 112, 148, 136, 164, 161, 185, 173, 223, 196, 241, 231, 268, 254, 304, 273, 332, 318, 364, 348, 403, 364, 444, 415, 477, 448, 525, 479, 567
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,6
|
|
LINKS
|
|
|
MATHEMATICA
|
Table[Length@Flatten[Permutations/@IntegerPartitions[n, 3, Select[Range@n, !PrimeQ@#&]], 1], {n, 0, 60}] (* Giorgos Kalogeropoulos, Sep 14 2021 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|