|
|
A157373
|
|
a(n) = 49*n^2 - 20*n + 2.
|
|
3
|
|
|
31, 158, 383, 706, 1127, 1646, 2263, 2978, 3791, 4702, 5711, 6818, 8023, 9326, 10727, 12226, 13823, 15518, 17311, 19202, 21191, 23278, 25463, 27746, 30127, 32606, 35183, 37858, 40631, 43502, 46471, 49538, 52703, 55966, 59327, 62786, 66343
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The continued fraction expansion of sqrt(a(n)) is [7n-2; {1, 1, 3, 7n-2, 3, 1, 1, 14n-4}]. - Magus K. Chu, Sep 06 2022
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 49*n^2-20*n+2.
a(n) = 3*a(n-1)-3*a(n-2)+a(n-3), with a(1)=31, a(2)=158, a(3)=383. - Harvey P. Dale, Jun 20 2011
E.g.f.: (49*x^2 + 29*x + 2)*exp(x) - 2. - G. C. Greubel, Feb 02 2018
|
|
MATHEMATICA
|
LinearRecurrence[{3, -3, 1}, {31, 158, 383}, 40] (* or *) CoefficientList[ Series[ (-31-65x-2x^2)/(x-1)^3, {x, 0, 40}], x] (* Harvey P. Dale, Jun 20 2011 *)
|
|
PROG
|
(Magma) I:=[31, 158, 383]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..40]]; // Vincenzo Librandi, Jan 28 2012
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|