login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A185631
Row sums of triangle A185628.
3
1, 4, 10, 32, 137, 766, 5382, 46022, 467206, 5519252, 74629263, 1139283601, 19411643752, 365595475542, 7548810986515, 169681672611815, 4126880020198630, 108026180912533227, 3029184083924476085, 90617948406514693702, 2881333799993441893564, 97057552263114611503090
OFFSET
0,2
COMMENTS
Triangle A185628 equals the matrix cube of triangle R = A185620, which satisfies: R^3 - R^2 + I = R shifted left one column.
PROG
(PARI) {a(n)=local(A=Mat(1), B); for(m=1, n+1, B=A^3-A^2+A^0; A=matrix(m+1, m+1); for(i=1, m+1, for(j=1, i, if(i<2|j==i, A[i, j]=1, if(j==1, A[i, j]=1, A[i, j]=B[i-1, j-1]))))); return(sum(k=1, n+1, (A^3)[n+1, k]))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Sep 07 2011
STATUS
approved