OFFSET
0,2
LINKS
Lucuano Ancora, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
G.f.: (1 + 120*x + 1191*x^2 + 2416*x^3 + 1191*x^4 + 120*x^5 + x^6)/(1 - x)^5.
a(n) = 42*(3 - 10*n + 15*n^2 - 10*n^3 + 5*n^4) for n>1, a(0)=1, a(1)=125.
EXAMPLE
Third differences: 1, 125, 1806, 10206, 35406, ... (this sequence)
Second differences: 1, 126, 1932, 12138, 47544, ... (A255177)
First differences: 1, 127, 2059, 14197, 61741, ... (A022523)
---------------------------------------------------------------------
The seventh powers: 1, 128, 2187, 16384, 78125, ... (A001015)
---------------------------------------------------------------------
MATHEMATICA
Join[{1, 125}, Table[42 (3 - 10 n + 15 n^2 - 10 n^3 + 5 n^4), {n, 2, 30}]]
PROG
(Magma) [1, 125] cat [42*(3-10*n+15*n^2-10*n^3+5*n^4): n in [2..30]]; // Vincenzo Librandi, Mar 18 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Luciano Ancora, Mar 18 2015
EXTENSIONS
Edited by Bruno Berselli, Mar 19 2015
STATUS
approved