0,2
Triangle A078122 shifts left one column under matrix cube and is related to partitions into powers of 3.
(PARI) {a(n)=local(p=4, q=3, A=Mat(1), B); for(m=1, n+1, B=matrix(m, m); for(i=1, m, for(j=1, i, if(j==i|j==1, B[i, j]=1, B[i, j]=(A^q)[i-1, j-1]); )); A=B); return(sum(c=0, n, (A^p)[n+1, c+1]))}
Cf. A125800, A078122; other columns: A078125, A078124, A125801, A125803.
Sequence in context: A204290 A059865 A097492 * A034217 A011556 A194927
Adjacent sequences: A125799 A125800 A125801 * A125803 A125804 A125805
nonn
Paul D. Hanna (pauldhanna(AT)juno.com), Dec 10 2006