|
|
A363322
|
|
Total number of parts coprime to n in the partitions of n into 4 parts.
|
|
7
|
|
|
0, 0, 0, 4, 4, 5, 12, 12, 19, 20, 44, 23, 72, 48, 67, 76, 156, 70, 216, 112, 182, 172, 376, 155, 408, 276, 422, 310, 740, 226, 900, 524, 697, 600, 936, 490, 1512, 828, 1144, 800, 2044, 644, 2352, 1198, 1488, 1448, 3056, 1125, 3053, 1524, 2539, 1976, 4356, 1586, 3672, 2272
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,4
|
|
LINKS
|
|
|
FORMULA
|
a(n) = Sum_{k=1..floor(n/4)} Sum_{j=k..floor((n-k)/3)} Sum_{i=j..floor((n-j-k)/2)} (c(i) + c(j) + c(k) + c(n-i-j-k)), where c(x) = [gcd(n,x) = 1] and [ ] is the Iverson bracket.
|
|
EXAMPLE
|
The partitions of 8 into 4 parts are: 1+1+1+5, 1+1+2+4, 1+1+3+3, 1+2+2+3, and 2+2+2+2. 8 is relatively prime to 1, 3, and 5. Since there are 12 total parts in these partitions that are coprime to 8, a(8) = 12.
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|