OFFSET
2,2
COMMENTS
LINKS
J. Sondow, Extending Babbage's (non-)primality tests, in Combinatorial and Additive Number Theory II, Springer Proc. in Math. & Stat., Vol. 220, 269-277, CANT 2015 and 2016, New York, 2017; arXiv:1812.07650 [math.NT], 2018.
EXAMPLE
For n = 2 and d = 2, binomial(n+d,d) = binomial(4,2) = 6 == 0 (mod n), so 0 is the first member. The rows for n = 2, 3, 4, 5, 6, 7 are
0,
2,
3,
2,
4, 0,
2,
MATHEMATICA
Table[ Mod[ Binomial[m + d, d], m], {m, 2, 60}, {d, Select[ Divisors[m], PrimeQ]}] // Flatten
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Jonathan Sondow, Feb 23 2018
STATUS
approved