login
A362688
Binomial(n+p, n) mod n where p=8.
7
0, 1, 0, 3, 2, 3, 2, 6, 1, 8, 1, 6, 1, 10, 9, 15, 1, 1, 1, 5, 18, 1, 1, 12, 6, 14, 1, 12, 1, 12, 1, 13, 12, 1, 13, 19, 1, 1, 27, 34, 1, 0, 1, 34, 10, 24, 1, 27, 8, 11, 18, 1, 1, 1, 12, 16, 39, 30, 1, 48, 1, 32, 10, 25, 14, 45, 1, 35, 24, 25, 1, 46, 1, 38, 66
OFFSET
1,4
FORMULA
a(n)=binomial(n+8,n) mod n.
For n > 645240, a(n) = 2*a(n-322560) - a(n-645120).
MATHEMATICA
Table[Mod[Binomial[n+8, n], n], {n, 90}]
KEYWORD
nonn
AUTHOR
Ray Chandler, Apr 29 2023
STATUS
approved