login
A362686
Binomial(n+p, n) mod n where p=6.
7
0, 0, 0, 2, 2, 0, 1, 3, 1, 8, 1, 0, 1, 8, 9, 5, 1, 10, 1, 10, 15, 12, 1, 15, 6, 14, 1, 8, 1, 12, 1, 9, 12, 18, 8, 10, 1, 20, 27, 19, 1, 36, 1, 12, 10, 24, 1, 45, 1, 36, 18, 14, 1, 28, 12, 15, 39, 30, 1, 48, 1, 32, 1, 17, 14, 12, 1, 18, 24, 50, 1, 19, 1, 38
OFFSET
1,4
FORMULA
a(n)=binomial(n+6,n) mod n.
For n > 1452, a(n) = 2*a(n-720) - a(n-1440).
MATHEMATICA
Table[Mod[Binomial[n+6, n], n], {n, 90}]
KEYWORD
nonn
AUTHOR
Ray Chandler, Apr 29 2023
STATUS
approved