OFFSET
1,4
LINKS
Ray Chandler, Table of n, a(n) for n = 1..1000
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}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ray Chandler, Apr 29 2023
STATUS
approved