OFFSET
0,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
Eric Weisstein's World of Mathematics, Apéry Number
FORMULA
If m = 2*n + 1 is a prime, a(n) = A030211(n) mod m^2.
MATHEMATICA
Table[Mod[Sum[(Binomial[n, k] Binomial[n + k, k])^2, {k, 0, n}], (2n + 1)^2], {n, 0, 100}] (* Indranil Ghosh, Jul 01 2017 *)
PROG
(PARI) a(n) = sum(k=0, n, (binomial(n, k)*binomial(n+k, k))^2) % (2*n+1)^2; \\ Michel Marcus, Jul 01 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jul 01 2017
STATUS
approved