|
|
A034324
|
|
a(n) = (n-1)*(n-2)*(n-3) + n.
|
|
2
|
|
|
1, 2, 3, 10, 29, 66, 127, 218, 345, 514, 731, 1002, 1333, 1730, 2199, 2746, 3377, 4098, 4915, 5834, 6861, 8002, 9263, 10650, 12169, 13826, 15627, 17578, 19685, 21954, 24391, 27002, 29793, 32770, 35939, 39306, 42877, 46658, 50655, 54874, 59321
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
(n*a(n+1)^3+1)/(n^3+1) is the smallest integer of the form (n*k^3+1)/(n^3+1). - Benoit Cloitre, May 02 2002
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
|
|
MATHEMATICA
|
CoefficientList[Series[(1 -2x +x^2 +6x^3)/(1-x)^4, {x, 0, 50}], x] (* Vincenzo Librandi, Feb 24 2014 *)
LinearRecurrence[{4, -6, 4, -1}, {1, 2, 3, 10}, 50] (* Harvey P. Dale, Aug 06 2018 *)
|
|
PROG
|
(Magma) [(n-2)^3 +2: n in [1..50]]; // G. C. Greubel, Aug 23 2019
(Sage) [(n-2)^3 +2 for n in (1..50)] # G. C. Greubel, Aug 23 2019
(GAP) List([1..50], n-> (n-2)^3 +2); # G. C. Greubel, Aug 23 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Laurence Michaels (guardian(AT)ntplx.net)
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|