login
8^n-6^n+1^n
19

%I #16 Jul 12 2020 13:41:44

%S 1,3,29,297,2801,24993,215489,1817217,15097601,124140033,1013275649,

%T 8227137537,66542694401,536695119873,4319682347009,34714187104257,

%U 278653866803201,2234873154240513,17912838552813569,143505828335845377

%N 8^n-6^n+1^n

%H Harvey P. Dale, <a href="/A155651/b155651.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 (15,-62,48).

%F G.f.: 1/(1-8*x)-1/(1-6*x)+1/(1-x). E.g.f.: e^(8*x)-e^(6*x)+e^x.

%F a(n)=14*a(n-1)-48*a(n-2)+35 with a(0)=1, a(1)=3 - _Vincenzo Librandi_, Jul 21 2010

%t Table[8^n-6^n+1,{n,0,20}] (* or *) LinearRecurrence[{15,-62,48},{1,3,29},20] (* _Harvey P. Dale_, Jul 12 2020 *)

%o (PARI) a(n)=8^n-6^n+1 \\ _Charles R Greathouse IV_, Jun 11 2015

%Y Cf. A155628, A155629, A155630, A155631, A155632, A155633, A155634, A155635, A155636, A155637, A155638, A155639, A155640, A155641, A155642, A155643, A155644, A155645, A155646, A155647, A155648, A155649, A155650.

%K nonn,easy

%O 0,2

%A _Mohammad K. Azarian_, Jan 31 2009