OFFSET
2,5
COMMENTS
If M is the n X n matrix filled with a variable t above the diagonal, one below the diagonal and zero on the diagonal, row(n) is the upper left element of M^n.
Every row is palindromic.
This should also give the primitive Hodge numbers of Dwork hypersurfaces.
EXAMPLE
As a triangle:
[1],
[1, 1],
[1, 19, 1],
[1, 101, 101, 1],
[1, 426, 1751, 426, 1],
[1, 1667, 18327, 18327, 1667, 1]
PROG
(SageMath)
t = polygen(ZZ, 't')
def M(n):
return ((matrix(n, n, lambda i, j: t if i < j else 1) - 1)**n)[0, 0]
[list(M(i))[1:] for i in range(2, 8)]
(PARI) row(n) = my(m=matrix(n, n, i, j, if (i>j, 1, if (i<j, t, 0)))); Vec((m^n)[1, 1], n-1); \\ Michel Marcus, Sep 15 2025
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
F. Chapoton, Sep 13 2025
STATUS
approved
