OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(0)=343, a(1)=4913, a(2)=19683, a(3)=50653; for n>3, a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4). - Harvey P. Dale, Jun 11 2015
MATHEMATICA
(10 Range[0, 40] + 7)^3 (* or *) LinearRecurrence[{4, -6, 4, -1}, {343, 4913, 19683, 50653}, 40] (* Harvey P. Dale, Jun 11 2015 *)
PROG
(Magma) [(10*n+7)^3: n in [0..40]]; // Vincenzo Librandi, Aug 30 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved