OFFSET
0,1
COMMENTS
2*a(n) = A001551(n), n>=0.
FORMULA
a(n) = (1^n + 2^n + 3^n + 4^n)/2, n>=0.
E.g.f.: (1-exp(4*x))/(2*(exp(-x)-1)) = Sum_{j=1..4} exp(j*x)/2.
O.g.f.: (2-5*x)*(1-5*x+5*x^2)/(Product_{j=1..4} (1-j*x)) (via Laplace transformation of the o.g.f.).
MATHEMATICA
Table[Total[Range[4]^n]/2, {n, 0, 40}] (* T. D. Noe, Oct 10 2011 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Oct 10 2011
STATUS
approved