login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A035104 First differences give (essentially) A028242. 4
1, 4, 9, 13, 19, 24, 31, 37, 45, 52, 61, 69, 79, 88, 99, 109, 121, 132, 145, 157, 171, 184, 199, 213, 229, 244, 261, 277, 295, 312, 331, 349, 369, 388, 409, 429, 451, 472, 495, 517, 541, 564, 589, 613, 639, 664, 691, 717, 745, 772, 801, 829, 859, 888, 919 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (2,0,-2,1).

FORMULA

a(n) = (5+3*(-1)^n+28*n+2*n^2)/8. a(n) = 2*a(n-1)-2*a(n-3)+a(n-4). G.f.: (3*x^3-x^2-2*x-1) / ((x-1)^3*(x+1)). - Colin Barker, Mar 04 2013

MATHEMATICA

CoefficientList[Series[(3 x^3 - x^2 - 2 x - 1)/((x - 1)^3 (x + 1)), {x, 0, 60}], x] (* Vincenzo Librandi, Oct 20 2013 *)

PROG

(MAGMA) [(5+3*(-1)^n+28*n+2*n^2)/8: n in [0..60]]; // Vincenzo Librandi, Oct 20 2013

CROSSREFS

Cf. A004652, A035106, A035107.

Sequence in context: A312978 A312979 A312980 * A141224 A064423 A312981

Adjacent sequences:  A035101 A035102 A035103 * A035105 A035106 A035107

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane.

EXTENSIONS

More terms from Vincenzo Librandi, Oct 20 2013

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 25 05:19 EDT 2020. Contains 337334 sequences. (Running on oeis4.)