|
|
A100109
|
|
a(n) = n^3 - 2*n^2 + 2.
|
|
1
|
|
|
1, 2, 11, 34, 77, 146, 247, 386, 569, 802, 1091, 1442, 1861, 2354, 2927, 3586, 4337, 5186, 6139, 7202, 8381, 9682, 11111, 12674, 14377, 16226, 18227, 20386, 22709, 25202, 27871, 30722, 33761, 36994, 40427, 44066, 47917, 51986, 56279, 60802, 65561, 70562
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
REFERENCES
|
T. A. Gulliver, Sequences from Cubes of Integers, Int. Math. Journal, 4 (2003), 439-445.
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(1 - 2*x + 9*x^2 - 2*x^3)/(1-x)^4.
E.g.f.: (2 - x + x^2 + x^3)*exp(x) - 2. (End)
|
|
MATHEMATICA
|
|
|
PROG
|
(Magma) [n^3-2*n^2+2: n in [1..50]]; // G. C. Greubel, Mar 29 2024
(SageMath) [n^3-2*n^2+2 for n in range(1, 51)] # G. C. Greubel, Mar 29 2024
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|