login
A083326
a(n) = 6^n - 5^n + 4^n.
1
1, 5, 27, 155, 927, 5675, 35127, 218195, 1354527, 8386715, 51749127, 318163235, 1949418927, 11907099755, 72529083927, 440741148275, 2672816984127, 16180899860795, 97813978879527, 590561131589315, 3561890520050127
OFFSET
0,2
COMMENTS
An alternating sum of decreasing powers.
Binomial transform of A083325.
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).
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 *)
CROSSREFS
Sequence in context: A332598 A305573 A184702 * A083880 A363185 A098409
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Apr 27 2003
STATUS
approved