The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A168336 a(n) = 5 + 7*floor((n-1)/2). 2
5, 5, 12, 12, 19, 19, 26, 26, 33, 33, 40, 40, 47, 47, 54, 54, 61, 61, 68, 68, 75, 75, 82, 82, 89, 89, 96, 96, 103, 103, 110, 110, 117, 117, 124, 124, 131, 131, 138, 138, 145, 145, 152, 152, 159, 159, 166, 166, 173, 173, 180, 180, 187, 187, 194, 194, 201, 201, 208 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = 7*n - a(n-1) - 4, with n>1, a(1)=5.
G.f.: x*(5 + 2*x^2)/((1+x)*(x-1)^2). - Vincenzo Librandi, Sep 18 2013
a(n) = a(n-1) +a(n-2) -a(n-3). - Vincenzo Librandi, Sep 18 2013
a(n) = (14*n - 7*(-1)^n - 1)/4. - Bruno Berselli, Sep 18 2013
a(n) = A168332(n) - 1 = A168373(n) + 1. - Bruno Berselli, Sep 18 2013
E.g.f.: (1/2)*(4 + (7*x - 4)*cosh(x) + (7*x + 3)* sinh(x)). - G. C. Greubel, Jul 18 2016
MATHEMATICA
Table[5 + 7 Floor[(n - 1)/2], {n, 60}] (* Bruno Berselli, Sep 18 2013 *)
CoefficientList[Series[(5 + 2 x^2)/((1 + x) (x - 1)^2), {x, 0, 70}], x] (* Vincenzo Librandi, Sep 18 2013 *)
PROG
(Magma) [5+7*Floor((n-1)/2): n in [1..70]]; // Vincenzo Librandi, Sep 18 2013
CROSSREFS
Sequence in context: A222575 A222681 A061391 * A123133 A328367 A338085
KEYWORD
nonn,easy,less
AUTHOR
Vincenzo Librandi, Nov 23 2009
EXTENSIONS
New definition by Vincenzo Librandi, Sep 18 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 June 5 11:59 EDT 2024. Contains 373105 sequences. (Running on oeis4.)