%I #11 Apr 10 2022 14:34:40
%S 1,2,14,29,175,365,2163,4516,26703,55759,329615,688286,4068623,
%T 8495917,50221212,104869718,619907431,1294463368,7651850657,
%U 15978257251,94450905714,197228218022,1165858298498,2434493909304,14390815650209
%N Fourth line of 5-wave sequence A038201.
%H F. v. Lamoen, <a href="http://home.wxs.nl/~lamoen/wiskunde/wave.htm">Wave sequences</a>
%F G.f.: (x^3+x^2-2*x-1) / (x^10-9*x^8+28*x^6-35*x^4+15*x^2-1). - _Alois P. Heinz_, Jul 16 2009
%p a:= n-> (Matrix([[`if`(irem(n,2)=0, 1, 2), 0, 0, 0, -1]]). Matrix(5, (i,j)-> if i=j-1 then 1 elif j=1 then [15, -35, 28, -9, 1][i] else 0 fi) ^iquo(n, 2))[1,1]: seq(a(n), n=0..30); # _Alois P. Heinz_, Jul 16 2009
%Y Cf. A038201.
%K nonn,easy
%O 0,2
%A _Floor van Lamoen_
%E More terms from _Alois P. Heinz_, Jul 16 2009