A095894 a(2n) = 6*n^2 + 7*n + 1; a(2n+1) = 6*n^2 + 13*n + 7.
1, 7, 14, 26, 39, 57, 76, 100, 125, 155, 186, 222, 259, 301, 344, 392, 441, 495, 550, 610, 671, 737, 804, 876, 949, 1027, 1106, 1190, 1275, 1365, 1456, 1552, 1649, 1751, 1854, 1962, 2071, 2185, 2300, 2420, 2541, 2667, 2794, 2926, 3059, 3197, 3336, 3480
Offset: 0
Links
- G. C. Greubel, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (2,0,-2,1).
Programs
-
Mathematica
LinearRecurrence[{2,0,-2,1},{1,7,14,26},60] (* Harvey P. Dale, Oct 13 2016 *)
-
PARI
x='x+O('x^50); Vec((-1-5*x)/((1+x)*(x-1)^3)) \\ G. C. Greubel, Jun 19 2017
Formula
G.f.: ( -1-5*x ) / ( (1+x)*(x-1)^3 ). - R. J. Mathar, Oct 26 2011
Extensions
Edited by Don Reble, Nov 16 2005
Comments