login
a(n) = Catalan(2*n) mod prime(n).
2

%I #22 Sep 08 2022 08:46:11

%S 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,

%T 122,35,125,64,70,90,36,71,50,65,159,27,79,175,155,197,164,66,95,204,

%U 156,223,191,156,140,184,231,32,208,35,224,83,193,143,234,1,273

%N a(n) = Catalan(2*n) mod prime(n).

%H Vincenzo Librandi, <a href="/A254706/b254706.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = A000108(2n) mod A000040(n).

%t Table[Mod[CatalanNumber[2 n], Prime[n]], {n, 70}]

%o (Magma) [Catalan(2*n) mod NthPrime(n): n in [1..100]];

%Y Cf. A000040, A000108, A246714.

%K nonn

%O 1,2

%A _Vincenzo Librandi_, Feb 06 2015