OFFSET
1,2
COMMENTS
Also (1/7) times the number of n-member subsets of [8n-1] whose elements sum to a multiple of n.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..768
FORMULA
a(n) = 1/(8n) * Sum_{d|n} binomial(8d,d)*(-1)^(n+d)*phi(n/d).
MAPLE
with(numtheory):
a:= n-> add(binomial(8*d, d)*(-1)^(n+d)*
phi(n/d), d in divisors(n))/(8*n):
seq(a(n), n=1..25);
PROG
(PARI) a(n) = 1/(8*n) * sumdiv(n, d, binomial(8*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