OFFSET
2,3
COMMENTS
For a guide to related sequences, see A206588.
EXAMPLE
2 divides exactly two of the numbers 20-1, 20-2, 20-6, so that a(3)-2.
MATHEMATICA
s[k_] := Binomial[2 k, k];
f[n_, k_] := If[Mod[s[n] - s[k], n] == 0, 1, 0];
t[n_] := Flatten[Table[f[n, k], {k, 1, n - 1}]]
a[n_] := Count[Flatten[t[n]], 1]
Table[a[n], {n, 2, 120}] (* A206828 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Feb 15 2012
STATUS
approved