login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A166598 a(n) = 5*n - a(n-1), with n>1, a(1)=5. 2
5, 5, 10, 10, 15, 15, 20, 20, 25, 25, 30, 30, 35, 35, 40, 40, 45, 45, 50, 50, 55, 55, 60, 60, 65, 65, 70, 70, 75, 75, 80, 80, 85, 85, 90, 90, 95, 95, 100, 100, 105, 105, 110, 110, 115, 115, 120, 120, 125, 125, 130, 130, 135, 135, 140, 140, 145, 145, 150, 150, 155, 155 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
G.f.: 5*x/((1+x)*(x-1)^2). - Vincenzo Librandi, Sep 15 2013
From G. C. Greubel, May 18 2016: (Start)
a(n) = a(n-1) + a(n-2) - a(n-3).
E.g.f.: (5/2)*(x*cosh(x) + (1+x)*sinh(x)).
a(n) = 5*A004526(n+1) = 5*A008619(n-1) = 5*A110654(n). (End)
MATHEMATICA
RecurrenceTable[{a[1]==5, a[n]==5n-a[n-1]}, a, {n, 70}] (* or *) Flatten[ {#, #}&/@(5Range[40])] (* Harvey P. Dale, Nov 29 2011 *)
CoefficientList[Series[5 / ((1 + x) (x - 1)^2), {x, 0, 60}], x] (* Vincenzo Librandi, Sep 15 2013 *)
LinearRecurrence[{1, 1, -1}, {5, 5, 10}, 50] (* G. C. Greubel, May 18 2016 *)
PROG
(Magma) [n le 1 select (n+4) else 5*n-Self(n-1): n in [1..70] ]; // Vincenzo Librandi, Sep 14 2013
CROSSREFS
Sequence in context: A360996 A003882 A168284 * A066256 A029842 A112436
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 18 2009
EXTENSIONS
Corrected a(59) by Harvey P. Dale, Nov 29 2011
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)