OFFSET
0,6
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..883 (rows 0..50)
EXAMPLE
Shift A027907 as indicated and construct a(n) by column.
The table begins
1
. 1 1 1
. . 1 2 3 2 1
. . . 1 3 6 7 6 3 1
. . . . 1 4 10 16 19 16 10 4 1
. . . . . 1 5 15 30 45 51 45 30 15 5 1
. . . . . . 1
therefore a(19) = 6 and appears in column seven and row three.
a(19) counts the ordered multisets {133,313,331,223,232,322}.
PROG
(PARI) T(n)=[Vecrev(p/y^valuation(p, y)) | p<-Vec(1/(1-x*y*(1+x+x^2)) + O(x*x^n))]
{ my(A=T(12)); for(i=1, #A, print(A[i])) } \\ Andrew Howroyd, Oct 04 2025
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Alford Arnold, Oct 23 2004
STATUS
approved
