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 #15 Apr 08 2016 03:17:34
%S 1,-6,-48,-300,-1812,-10884,-65316,-391908,-2351460,-14108772,
%T -84652644,-507915876,-3047495268,-18284971620,-109709829732,
%U -658258978404,-3949553870436,-23697323222628,-142183939335780,-853103636014692
%N a(n) = (12-7*6^n)/5.
%H G. C. Greubel, <a href="/A165758/b165758.txt">Table of n, a(n) for n = 0..500</a>
%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (7, -6).
%F a(n) = 6*a(n-1) - 12, a(0)=1.
%F a(n) = 7*a(n-1)-6*a(n-2), a(0)=1, a(1)= -6.
%F G.f.: (1-13x)/(1-7x+6x^2).
%F a(n) = Sum_{0<=k<=n} A112555(n,k)*(-7)^(n-k).
%F a(n) = (-6)*A061801(n-1).
%F E.g.f.: (1/5)*(12*exp(x) - 7*exp(6*x)). - _G. C. Greubel_, Apr 07 2016
%t (12-7*6^Range[0,20])/5 (* or *) LinearRecurrence[{7,-6},{1,-6},20] (* _Harvey P. Dale_, Apr 30 2012 *)
%K easy,sign
%O 0,2
%A _Philippe Deléham_, Sep 26 2009
%E Corrected by _D. S. McNeil_, Aug 20 2010