OFFSET
1,1
COMMENTS
Compared with A118112: larger nonzero value more often and in non-monotonic order.
LINKS
Michel Marcus, Table of n, a(n) for n = 1..10000
EXAMPLE
For n=5, binomial(15,5) = 3003 = (5+1)*(5+2)*71 + 21, a(5) = 21, the residue.
Interestingly, a very large zone of zeros occurs between about n=5460 and n=7800, uninterrupted by nonzero residues.
MAPLE
seq(binomial(3*n, n) mod((n+1)*(n+2)), n=1..71); # Emeric Deutsch, Apr 15 2006
MATHEMATICA
Table[Mod[Binomial[3*k, k], (k + 1)*(k + 2)], {k, 1, 1000}]
PROG
(PARI) a(n) = binomial(3*n, n) % ((n+1)*(n+2)); \\ Michel Marcus, Jan 05 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Apr 13 2006
STATUS
approved