login

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”).

a(n) = 8^n + 7.
2

%I #9 Feb 25 2024 11:04:32

%S 8,15,71,519,4103,32775,262151,2097159,16777223,134217735,1073741831,

%T 8589934599,68719476743,549755813895,4398046511111,35184372088839,

%U 281474976710663,2251799813685255,18014398509481991,144115188075855879,1152921504606846983

%N a(n) = 8^n + 7.

%C Subsequence of A226825.

%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (9,-8).

%F G.f.: (8 - 57*x)/((1 - x)*(1 - 8*x)).

%F a(n) = 9*a(n-1) - 8*a(n-2) for n>1.

%t Table[8^n + 7, {n, 0, 40}]

%t 8^Range[0,20]+7 (* or *) LinearRecurrence[{9,-8},{8,15},30] (* _Harvey P. Dale_, Feb 25 2024 *)

%o (Magma) [8^n+7: n in [0..30]];

%Y Cf. similar sequences listed in A253208.

%Y Cf. A164786, A226825.

%K nonn,easy

%O 0,1

%A _Vincenzo Librandi_, Dec 30 2014