OFFSET
0,8
LINKS
G. C. Greubel, Table of n, a(n) for the first 50 rows, flattened
Joe Buhler and R. L. Graham, Juggling Drops and Descents, Amer. Math. Monthly, 101, (no. 6) 1994, 507 - 519.
Juggling Information Service, Site Swap FAQs
FORMULA
Row n is the inverse Euler transform of j-> n^(j-1). - Alois P. Heinz, Jun 23 2018
EXAMPLE
Upper left corner starts as:
1, 0, 0, 0, 0, ...
1, 1, 2, 3, 6, ...
1, 2, 6, 15, 42, ...
1, 3, 12, 42, 156, ...
1, 4, 20, 90, 420, ...
...
MAPLE
[seq(DistSS_table(j), j=0..119)]; DistSS_table := (n) -> DistSS((((trinv(n)-1)*(((1/2)*trinv(n))+1))-n)+1, (n-((trinv(n)*(trinv(n)-1))/2)));
with(numtheory); DistSS := proc(n, b) local d, s; s := 0; for d in divisors(n) do s := s+mobius(n/d)*((b+1)^d - b^d); od; RETURN(s/n); end;
MATHEMATICA
trinv[n_] := Floor[(1 + Sqrt[8 n + 1])/2];
DistSS[n_, b_] := DivisorSum[n, MoebiusMu[n/#]*((b + 1)^# - b^#)&] /n;
a[n_] := DistSS[(((trinv[n] - 1)*(((1/2)*trinv[n]) + 1)) - n) + 1, (n - ((trinv[n]*(trinv[n] - 1))/2))];
Table[a[n], {n, 0, 119}] (* Jean-François Alcover, Mar 06 2016, adapted from Maple *)
CROSSREFS
Main diagonal gives A306173.
KEYWORD
nonn,tabl
AUTHOR
Antti Karttunen, Oct 19 2001
STATUS
approved