|
|
A363323
|
|
Total number of parts coprime to n in the partitions of n into 5 parts.
|
|
7
|
|
|
0, 0, 0, 0, 5, 4, 10, 10, 22, 19, 50, 28, 90, 63, 102, 104, 235, 108, 350, 192, 343, 313, 705, 301, 831, 576, 919, 684, 1665, 515, 2135, 1274, 1813, 1555, 2540, 1324, 4155, 2360, 3397, 2359, 6130, 1953, 7345, 3858, 4925, 4854, 10310, 3890, 10790, 5457, 9421, 7351, 16330, 6077
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,5
|
|
LINKS
|
|
|
FORMULA
|
a(n) = Sum_{l=1..floor(n/5)} Sum_{k=l..floor((n-l)/4)} Sum_{j=k..floor((n-k-l)/3)} Sum_{i=j..floor((n-j-k-l)/2)} (c(i) + c(j) + c(k) + c(l) + c(n-i-j-k-l)), where c(x) = [gcd(n,x) = 1] and [ ] is the Iverson bracket.
|
|
EXAMPLE
|
The partitions of 9 into 5 parts are: 1+1+1+1+5, 1+1+1+2+4, 1+1+1+3+3, 1+1+2+2+3, and 1+2+2+2+2. 9 is relatively prime to 1, 2, 4 and 5. Since there are 22 total parts in these partitions that are coprime to 9, a(9) = 22.
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|