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!)
A168337 a(n) = 1 + 7*floor(n/2). 2
1, 8, 8, 15, 15, 22, 22, 29, 29, 36, 36, 43, 43, 50, 50, 57, 57, 64, 64, 71, 71, 78, 78, 85, 85, 92, 92, 99, 99, 106, 106, 113, 113, 120, 120, 127, 127, 134, 134, 141, 141, 148, 148, 155, 155, 162, 162, 169, 169, 176, 176, 183, 183, 190, 190, 197, 197, 204, 204, 211 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = 7*n - a(n-1) - 5, with n>1, a(1)=1.
From Vincenzo Librandi, Sep 18 2013: (Start)
G.f.: x*(1 + 7*x - x^2)/((1+x)*(x-1)^2).
a(n) = a(n-1) +a(n-2) -a(n-3).
a(n) = (14*n + 7*(-1)^n - 3)/4. (End)
a(n) = A168333(n) - 1 = A168374(n) + 1. - Bruno Berselli, Sep 18 2013
E.g.f.: (1/2)*(-2 + (7*x + 2)*cosh(x) + (7*x - 5)*sinh(x)). - G. C. Greubel, Jul 18 2016
MATHEMATICA
Table[ 1 + 7*floor(n/2) , {n, 60}] (* Bruno Berselli, Sep 18 2013 *)
CoefficientList[Series[(1 + 7 x - x^2)/((1 + x) (x - 1)^2), {x, 0, 70}], x] (* Vincenzo Librandi, Sep 18 2013 *)
PROG
(Magma) [7*n/2 + 7*(-1)^n/4 - 3/4: n in [1..70]]; // Vincenzo Librandi, Sep 18 2013
CROSSREFS
Sequence in context: A363326 A343526 A335896 * A109540 A229554 A298182
KEYWORD
nonn,easy,less
AUTHOR
Vincenzo Librandi, Nov 23 2009
EXTENSIONS
New definition by Bruno Berselli, 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 April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)