OFFSET
1,2
COMMENTS
EXAMPLE
a(5) = 6 is a term because 2 * 6 does not divide binomial(6,2) = 15, 3 * 6 does not divide binomial(6,3) = 20, 4 * 6 does not divide binomial(6,4) = 15, and 5 * 6 does not divide binomial(6,5) = 6.
MAPLE
filter:= proc(n)
andmap(t -> binomial(n, t) mod (t*n) <> 0, [$2..n-1])
end proc:
select(filter, [$1..1000]);
PROG
(Python)
from itertools import count, islice
from math import comb
def A370684_gen(startvalue=1): # generator of terms >= startvalue
return filter(lambda k:all(comb(k, j)%(j*k) for j in range(2, k)), count(max(startvalue, 1)))
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Robert Israel, Feb 28 2024
STATUS
approved