Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #14 Sep 08 2022 08:46:00
%S 4,25,193,1537,12289,98305,786433,6291457,50331649,402653185,
%T 3221225473,25769803777,206158430209,1649267441665,13194139533313,
%U 105553116266497,844424930131969,6755399441055745,54043195528445953
%N a(n) = 3*8^n + 1.
%H Vincenzo Librandi, <a href="/A199494/b199494.txt">Table of n, a(n) for n = 0..1000</a>
%H <a href="/index/Rec">Index entries for linear recurrences with constant coefficients</a>, signature (9,-8).
%F a(n) = 8*a(n-1)-7.
%F a(n) = 9*a(n-1)-8*a(n-2).
%F G.f.: (4-11*x)/((1-x)*(1-8*x)).
%t 3*8^Range[0,30]+1 (* or *) LinearRecurrence[{9,-8},{4,25},30] (* _Harvey P. Dale_, Dec 27 2021 *)
%o (Magma) [3*8^n+1: n in [0..30]];
%K nonn,easy
%O 0,1
%A _Vincenzo Librandi_, Nov 07 2011