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!)
A168333 a(n) = (14*n + 7*(-1)^n + 1)/4. 2
2, 9, 9, 16, 16, 23, 23, 30, 30, 37, 37, 44, 44, 51, 51, 58, 58, 65, 65, 72, 72, 79, 79, 86, 86, 93, 93, 100, 100, 107, 107, 114, 114, 121, 121, 128, 128, 135, 135, 142, 142, 149, 149, 156, 156, 163, 163, 170, 170, 177, 177, 184, 184, 191, 191, 198, 198, 205, 205 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = 7*n - a(n-1) - 3, with n>1, a(1)=2.
G.f.: x*(2 + 7*x - 2*x^2)/((1+x)*(x-1)^2). - Vincenzo Librandi, Sep 17 2013
a(n) = a(n-1) +a(n-2) -a(n-3). - Vincenzo Librandi, Sep 17 2013
a(n) = A168331(n) - 1 = A168337(n) + 1 = A168212(n) - 2 = A168374(n) + 2. - Bruno Berselli, Sep 17 2013
E.g.f.: (1/4)*(7 - 8*exp(x) + (14*x + 1)*exp(2*x))*exp(-x). - G. C. Greubel, Jul 18 2016
MATHEMATICA
CoefficientList[Series[(2 + 7 x - 2 x^2)/((1 + x) (x - 1)^2), {x, 0, 70}], x] (* Vincenzo Librandi, Sep 17 2013 *)
LinearRecurrence[{1, 1, -1}, {2, 9, 9}, 70] (* Harvey P. Dale, Mar 13 2014 *)
PROG
(Magma) [n eq 1 select 2 else 7*n-Self(n-1)-3: n in [1..70]]; // Vincenzo Librandi, Sep 17 2013
CROSSREFS
Sequence in context: A331369 A197394 A198942 * A238412 A242064 A109322
KEYWORD
nonn,easy,less
AUTHOR
Vincenzo Librandi, Nov 23 2009
EXTENSIONS
New definition 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 23 07:34 EDT 2024. Contains 371905 sequences. (Running on oeis4.)