login
A100705
a(n) = n^3 + (n+1)^2.
9
1, 5, 17, 43, 89, 161, 265, 407, 593, 829, 1121, 1475, 1897, 2393, 2969, 3631, 4385, 5237, 6193, 7259, 8441, 9745, 11177, 12743, 14449, 16301, 18305, 20467, 22793, 25289, 27961, 30815, 33857, 37093, 40529, 44171, 48025, 52097, 56393, 60919, 65681, 70685, 75937
OFFSET
0,2
COMMENTS
The finite simple continued fraction [1;n-1,n,n+1] has a numerator in the resulting rational number (n^3+2*n+n^2+1)/(n*(n^2+1)) that is the same as a(n). - J. M. Bergot, Sep 29 2011
FORMULA
G.f.: ( 1+x+3*x^2+x^3 ) / (x-1)^4 . - R. J. Mathar, Sep 29 2011
a(n) = A053698(n)+n. - Bruno Berselli, Sep 30 2011
MATHEMATICA
Table[n^3 + (n + 1)^2, {n, 0, 45}]
LinearRecurrence[{4, -6, 4, -1}, {1, 5, 17, 43}, 50] (* Harvey P. Dale, Dec 03 2014 *)
PROG
(Magma) [n^3 + (n+1)^2: n in [0..50]]; // Vincenzo Librandi, Sep 30 2011
(PARI) a(n)=n^3+(n+1)^2 \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
Sequence in context: A265193 A146720 A146640 * A100662 A168617 A046916
KEYWORD
nonn,easy
AUTHOR
Giovanni Teofilatto, Jan 03 2005
EXTENSIONS
More terms from Mark Hudson and Farideh Firoozbakht, Jan 04 2005
STATUS
approved