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!)
A168283 a(n) = (10*n - 5*(-1)^n - 3)/4. 2
3, 3, 8, 8, 13, 13, 18, 18, 23, 23, 28, 28, 33, 33, 38, 38, 43, 43, 48, 48, 53, 53, 58, 58, 63, 63, 68, 68, 73, 73, 78, 78, 83, 83, 88, 88, 93, 93, 98, 98, 103, 103, 108, 108, 113, 113, 118, 118, 123, 123, 128, 128, 133, 133, 138, 138, 143, 143, 148, 148, 153, 153, 158 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = 5*n - a(n-1) - 4, with n>1, a(1)=3.
From R. J. Mathar, Nov 25 2009: (Start)
a(n) = A168209(n-1), n>1.
a(n) = (10*n + 5*(-1)^(n+1) - 3)/4.
G.f.: x*(3 + 2*x^2)/((1+x)*(x-1)^2). (End)
a(n) = a(n-1) +a(n-2) -a(n-3). - Vincenzo Librandi, Sep 16 2013
E.g.f.: (1/4)*(-5 + 8*exp(x) + (10*x - 3)*exp(2*x))*exp(-x). - G. C. Greubel, Jul 17 2016
MATHEMATICA
CoefficientList[Series[(3 + 2 x^2) / ((1 + x) (x - 1)^2), {x, 0, 70}], x] (* Vincenzo Librandi, Sep 16 2013 *)
Table[5 n/2 - 5 (-1)^n/4 - 3/4, {n, 70}] (* Bruno Berselli, Sep 17 2013 *)
PROG
(Magma) [n le 1 select n+2 else 5*n-Self(n-1)-4: n in [1..70] ]; // Vincenzo Librandi, Sep 16 2013
CROSSREFS
Sequence in context: A363220 A093366 A204136 * A135291 A058617 A205977
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 22 2009
EXTENSIONS
Previous definition replaced with the closed form by Bruno Berselli, Sep 17 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 20 00:03 EDT 2024. Contains 371798 sequences. (Running on oeis4.)