login
A254706
a(n) = Catalan(2*n) mod prime(n).
2
0, 2, 2, 2, 10, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 33, 122, 35, 125, 64, 70, 90, 36, 71, 50, 65, 159, 27, 79, 175, 155, 197, 164, 66, 95, 204, 156, 223, 191, 156, 140, 184, 231, 32, 208, 35, 224, 83, 193, 143, 234, 1, 273
OFFSET
1,2
LINKS
FORMULA
a(n) = A000108(2n) mod A000040(n).
MATHEMATICA
Table[Mod[CatalanNumber[2 n], Prime[n]], {n, 70}]
PROG
(Magma) [Catalan(2*n) mod NthPrime(n): n in [1..100]];
CROSSREFS
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Feb 06 2015
STATUS
approved