OFFSET
1,4
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1) = (1-1) / 1 = 0; a(2) = (2) / 2 = 1; a(3) = (4-1) / 3 = 1; a(4) = (8) / 4 = 2; ...
MATHEMATICA
Block[{f, g}, f[m_, n_] := Boole[Mod[n, m] == 0]; g[n_] := (n^4 - 6 n^3 + 23 n^2 - 18 n + 24)/24 + f[2, n] (-5 n^3 + 42 n^2 - 40 n - 48)/48 - f[4, n] (3 n/4) + f[6, n] (-53 n^2 + 310 n)/12 + f[12, n] (49 n/2) + f[18, n]*32 n + f[24, n]*19 n - f[30, n]*36 n - f[42, n]*50 n - f[60, n]*190 n - f[84, n]*78 n - f[90, n]*48 n - f[120, n]*78 n - f[210, n]*48 n; Array[(g[#] - Mod[#, 2])/# &, 52]] (* Michael De Vlieger, May 13 2022, after T. D. Noe at A006533 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Tod A. Jebe (tjebe(AT)home.com), Sep 05 2000
EXTENSIONS
More terms from Sean A. Irvine, May 13 2022
STATUS
approved