Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #14 Sep 08 2022 08:45:34
%S 8,26,98,386,1538,6146,24578,98306,393218,1572866,6291458,25165826,
%T 100663298,402653186,1610612738,6442450946,25769803778,103079215106,
%U 412316860418,1649267441666,6597069766658,26388279066626
%N a(n) = 6*4^n + 2.
%C Also 2*A140660.
%H Vincenzo Librandi, <a href="/A140788/b140788.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 (5,-4).
%F From _R. J. Mathar_, Feb 07 2009: (Start)
%F a(n) = 5*a(n-1) - 4*a(n-2).
%F G.f.: 2(4-7x)/((1-x)(1-4x)). (End)
%t 6*4^Range[0,30]+2 (* or *) LinearRecurrence[{5,-4},{8,26},30] (* _Harvey P. Dale_, Apr 15 2019 *)
%o (Magma) [6*4^n+2: n in [0..30]]; // _Vincenzo Librandi_, Aug 08 2011
%K nonn,easy
%O 0,1
%A _Paul Curtz_, Jul 14 2008
%E More terms from _R. J. Mathar_, Feb 07 2009