OFFSET
1,2
COMMENTS
Also (1/6) times the number of n-member subsets of [7n-1] whose elements sum to a multiple of n.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..806
FORMULA
a(n) = 1/(7n) * Sum_{d|n} binomial(7d,d)*(-1)^(n+d)*phi(n/d).
MAPLE
with(numtheory):
a:= n-> add(binomial(7*d, d)*(-1)^(n+d)*
phi(n/d), d in divisors(n))/(7*n):
seq(a(n), n=1..25);
PROG
(PARI) a(n) = 1/(7*n) * sumdiv(n, d, binomial(7*d, d)*(-1)^(n+d)*eulerphi(n/d)); \\ Michel Marcus, Jul 18 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Jul 15 2019
STATUS
approved