OFFSET
1,5
COMMENTS
k = 1 always works, so a(n) >= 1. a(n) = 1 for n = 1, 2, 3, 4, 6, 7, 8, 12, 14, 15, 16, 18, 22, 23, 24, 30, 36, 40, 42, 44, 48, 63, 70, 72, 80, 90, 95, 96, 120, 240. Are there any others? - Robert Israel, Feb 27 2024
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(11)=3 since k=1, k=3, k=6 are only solutions to 11*k divides binomial(11,k).
MAPLE
f:= proc(n) nops(select(t -> binomial(n, t) mod (n*t) = 0, [$1..n])) end proc:
map(f, [$1..200]); # Robert Israel, Feb 27 2024
MATHEMATICA
nkb[n_]:=Total[Table[If[Divisible[Binomial[n, k], n*k], 1, 0], {k, n}]]; Array[ nkb, 110] (* Harvey P. Dale, Jul 06 2020 *)
PROG
(PARI) a(n) = sum(k=1, n, (binomial(n, k) % (n*k)) == 0); \\ Michel Marcus, May 18 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Dec 11 1999
STATUS
approved