A172417 Triangle read by rows: Catalan number C(n) repeated n times.
1, 2, 2, 5, 5, 5, 14, 14, 14, 14, 42, 42, 42, 42, 42, 132, 132, 132, 132, 132, 132, 429, 429, 429, 429, 429, 429, 429, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 1430, 4862, 4862, 4862, 4862, 4862, 4862, 4862, 4862, 4862, 16796, 16796, 16796, 16796, 16796
Offset: 1
Examples
Triangle begins: .....1 ....2,2 ...5,5,5 14,14,14,14
Links
- Marc Chamberland, Factored matrices can generate combinatorial identities, Linear Algebra and its Applications, Volume 438, Issue 4, 2013, pp. 1667-1677.
Programs
-
Mathematica
Table[PadRight[{},n,CatalanNumber[n]],{n,10}]//Flatten (* Harvey P. Dale, Jun 05 2021 *)
-
Python
from math import isqrt from sympy import catalan def A172417(n): return catalan((m:=isqrt(k:=n<<1))+(k>m*(m+1))) # Chai Wah Wu, Nov 07 2024
Formula
T(n,k) = A000108(n). - R. J. Mathar, Nov 03 2016
Sum_{n>=1} 1/a(n) = 2 + 16*Pi/(27*sqrt(3)). - Amiram Eldar, Aug 18 2022
Extensions
Definition corrected by R. J. Mathar, Nov 03 2016
Comments