login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A318625
Number of 4-member subsets of [4*n] whose elements sum to a multiple of n.
2
0, 1, 38, 165, 460, 969, 1782, 2925, 4508, 6545, 9158, 12341, 16236, 20825, 26262, 32509, 39740, 47905, 57190, 67525, 79116, 91881, 106038, 121485, 138460, 156849, 176902, 198485, 221868, 246905, 273878, 302621, 333436, 366145, 401062, 437989, 477260, 518665
OFFSET
0,3
FORMULA
G.f.: x*(4*x^7+27*x^6+100*x^5+123*x^4+132*x^3+89*x^2+36*x+1) / ((x^2+1) *(x+1)^2 *(x-1)^4).
EXAMPLE
a(2) = 38: {1,2,3,4}, {1,2,3,6}, {1,2,3,8}, {1,2,4,5}, {1,2,4,7}, {1,2,5,6}, {1,2,5,8}, {1,2,6,7}, {1,2,7,8}, {1,3,4,6}, {1,3,4,8}, {1,3,5,7}, {1,3,6,8}, {1,4,5,6}, {1,4,5,8}, {1,4,6,7}, {1,4,7,8}, {1,5,6,8}, {1,6,7,8}, {2,3,4,5}, {2,3,4,7}, {2,3,5,6}, {2,3,5,8}, {2,3,6,7}, {2,3,7,8}, {2,4,5,7}, {2,4,6,8}, {2,5,6,7}, {2,5,7,8}, {3,4,5,6}, {3,4,5,8}, {3,4,6,7}, {3,4,7,8}, {3,5,6,8}, {3,6,7,8}, {4,5,6,7}, {4,5,7,8}, {5,6,7,8}.
CROSSREFS
Row n=4 of A318557.
Sequence in context: A251253 A224739 A135176 * A281208 A100167 A100168
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Aug 30 2018
STATUS
approved