login
Diagonal of table A062104.
5

%I #16 Apr 25 2024 09:10:19

%S 0,1,3,10,30,90,270,810,2430,7290,21870,65610,196830,590490,1771470,

%T 5314410,15943230,47829690,143489070,430467210,1291401630,3874204890,

%U 11622614670,34867844010,104603532030,313810596090,941431788270

%N Diagonal of table A062104.

%H <a href="/index/Rec#order_01">Index entries for linear recurrences with constant coefficients</a>, signature (3).

%F a(n) = 10*3^(n-4) for n >= 4.

%F From _Paul Barry_, Oct 15 2004: (Start)

%F G.f.: x^2(1+x^2)/(1-3x);

%F a(n) = Sum_{k=0..n-2} 3^(n-k-2)binomial(1, k/2)(1+(-1)^k)/2. (End)

%p [seq(ChessPawnTriangle(j,j),j=1..50)];

%Y Except for initial terms, same as A005052.

%K nonn

%O 1,3

%A _Antti Karttunen_, May 30 2001