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”).
%I #22 Apr 08 2024 12:44:17
%S 1,8,83,826,8265,82644,826447,8264462,82644629,826446280,8264462811,
%T 82644628098,826446280993,8264462809916,82644628099175,
%U 826446280991734,8264462809917357,82644628099173552,826446280991735539,8264462809917355370,82644628099173553721
%N a(n) = 10*a(n-1) - (-1)^n * n, a(1) = 1.
%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (8,19,10).
%F From _R. J. Mathar_, Aug 06 2010: (Start)
%F a(n) = +8*a(n-1) +19*a(n-2) +10*a(n-3).
%F G.f.: -x/((10*x-1)*(1+x)^2).
%F a(n) = (10^(n+1) -11*n*(-1)^n -10*(-1)^n)/121. (End)
%t LinearRecurrence[{8,19,10},{1,8,83},20] (* _Harvey P. Dale_, Nov 17 2014 *)
%Y Cf. A007908, A021125.
%K nonn,easy
%O 1,2
%A _Mark Dols_, Aug 04 2010