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 Sep 08 2022 08:46:00
%S 2,12,82,572,4002,28012,196082,1372572,9608002,67256012,470792082,
%T 3295544572,23068812002,161481684012,1130371788082,7912602516572,
%U 55388217616002,387717523312012,2714022663184082,18998158642288572
%N a(n) = (5*7^n+1)/3.
%H Vincenzo Librandi, <a href="/A199420/b199420.txt">Table of n, a(n) for n = 0..1000</a>
%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (8,-7).
%F a(n) = 7*a(n-1)-2.
%F a(n) = 8*a(n-1)-7*a(n-2).
%F G.f.: 2*(1-2*x)/((1-x)*(1-7*x)).
%t LinearRecurrence[{8,-7},{2,12},30] (* _Harvey P. Dale_, Aug 25 2017 *)
%o (Magma) [(5*7^n+1)/3: n in [0..30]];
%K nonn,easy
%O 0,1
%A _Vincenzo Librandi_, Nov 07 2011