OFFSET
0,2
COMMENTS
Numerator of 3^(-n) + n^3.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
FORMULA
From R. J. Mathar, Nov 24 2009: (Start)
a(n) = 1 + A062074(n).
G.f.: (1 -9*x +87*x^2 -117*x^3 +54*x^4)/((1-x)*(3*x-1)^4). (End)
E.g.f.: exp(x) + 3*x*(1 + 9*x + 9*x^2)*exp(3*x). - G. C. Greubel, Jul 17 2016
MATHEMATICA
f[n_]:=3^n-n^3; Table[Numerator[f[n]], {n, 0, -50, -1}]
PROG
(Magma) [1+n^3*3^n: n in [0..30]]; // Vincenzo Librandi, Jul 02 2011
(PARI) for(n=0, 100, print1(1+(n^3)*(3^n), ", ")) \\ Edward Jiang, Nov 22 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Nov 22 2009
EXTENSIONS
Corrected offset, and simplified the definition - R. J. Mathar, Nov 24 2009
STATUS
approved