A083326 a(n) = 6^n - 5^n + 4^n.
1, 5, 27, 155, 927, 5675, 35127, 218195, 1354527, 8386715, 51749127, 318163235, 1949418927, 11907099755, 72529083927, 440741148275, 2672816984127, 16180899860795, 97813978879527, 590561131589315, 3561890520050127
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (15,-74,120).
Programs
-
Maple
A083326:=n->6^n-5^n+4^n: seq(A083326(n), n=0..30); # Wesley Ivan Hurt, Jan 24 2017
-
Mathematica
Table[6^n-5^n+4^n,{n,0,20}] (* Harvey P. Dale, Feb 19 2013 *)
Formula
G.f.: (1-10*x+26*x^2)/((1-4*x)*(1-5*x)*(1-6*x)).
E.g.f.: exp(6x) - exp(5x) + exp(4x).
Comments