A119469 Triangle read by rows: row n gives coefficients (lowest degree first) of P_n(x), where P_0(x) = P_1(x) = 1; P_n(x) = P_{n-1}(x) + x^(n-2)*P_{n-2}(x).
1, 1, 2, 2, 1, 2, 1, 2, 2, 1, 2, 2, 1, 2, 1, 2, 2, 3, 1, 2, 2, 1, 2, 2, 3, 3, 3, 2, 2, 1, 2, 1, 2, 2, 3, 3, 5, 3, 4, 3, 3, 1, 2, 2, 1, 2, 2, 3, 3, 5, 5, 5, 5, 5, 4, 5, 3, 2, 2, 1, 2, 1, 2, 2, 3, 3, 5, 5, 7, 6, 7, 6, 8, 6, 7, 5, 5, 3, 3, 1, 2, 2, 1, 2, 2, 3, 3, 5, 5, 7, 8, 8, 8, 10, 9, 10, 10, 10, 8
Offset: 0
Examples
Triangle begins: 1 1 2 2,1 2,1,2 2,1,2,2,1 2,1,2,2,3,1,2 2,1,2,2,3,3,3,2,2,1 2,1,2,2,3,3,5,3,4,3,3,1,2 2,1,2,2,3,3,5,5,5,5,5,4,5,3,2,2,1
Links
Programs
-
Maple
P[0]:=1; P[1]:=1; d:=[0,0]; M:=14; for n from 2 to M do P[n]:=expand(P[n-1]+q^(n-2)*P[n-2]); lprint(seriestolist(series(P[n],q,M^2))); d:=[op(d),degree(P[n],q)]; od: d;
Comments