OFFSET
0,2
COMMENTS
In this sequence if we do a forward difference, then the 4th forward difference when considered as a sequence will be a geometric progression with common ratio 3. - Gopalakrishnan (gopala498(AT)yahoo.co.in), May 26 2010
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Ronald K. Hoeflin, The Titan Test.
Index entries for linear recurrences with constant coefficients, signature (7,-18,22,-13,3).
FORMULA
G.f.: (-1+2*x^4+15*x^3-7*x^2+3*x)/((3*x-1)*(x-1)^4). - Maksym Voznyy (voznyy(AT)mail.ru), Jul 27 2009
From Elmo R. Oliveira, Dec 25 2025: (Start)
E.g.f.: exp(x)*(x*(1 + 3*x + x^2) + exp(2*x)).
a(n) = 7*a(n-1) - 18*a(n-2) + 22*a(n-3) - 13*a(n-4) + 3*a(n-5). (End)
MAPLE
seq(seq(k^n+n^k, k=3..3), n=0..23); # Zerinvary Lajos, Jun 29 2007
MATHEMATICA
Table[3^n+n^3, {n, 0, 3*4!}] (* Vladimir Joseph Stephan Orlovsky, May 07 2010 *)
PROG
(Magma) [3^n+n^3: n in [0..30]]; // Vincenzo Librandi, Oct 27 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Vladimir Joseph Stephan Orlovsky, May 07 2010
STATUS
approved
