OFFSET
1,1
REFERENCES
D. S. Gireesh and M. S. Mahadeva Naika, On 3-regular partitions in 3-colors, Indian J. Pure Appl. Math. 50 (2019), 137-148.
LINKS
D. S. Gireesh and M. S. Mahadeva Naika, On 3-regular partitions in 3-colors, ResearchGate.
B. Hemanthkumar and D. S. Gireesh, On ℓ-regular and 2-color partition triples modulo powers of 3, arXiv:2504.13507 [math.CO], 2025.
FORMULA
T(i,j) = 27*T(i-1,j-1) + 9*T(i-2,j-1) + T(i-3,j-1).
EXAMPLE
Triangle begins:
9;
6, 243;
1, 243, 6561;
0, 90, 8748, 177147;
0, 15, 4860, 295245, 4782969;
...
PROG
(PARI) M(i, j) = if (j>i, return(0)); if (i==1, if (j==1, return(9))); if (i==2, if (j==1, return(6)); return(243)); if (i==3, if (j==1, return(1)); if (j==2, return(243)); return(6561)); if (i>=4, if (j==1, return(0)); 27*M(i-1, j-1) + 9*M(i-2, j-1) + M(i-3, j-1));
row(n) = vector(n, i, M(n, i));
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Michel Marcus, Apr 24 2025
STATUS
approved
