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!)
A168420 a(n) = 4 + 10*floor(n/2). 1
4, 14, 14, 24, 24, 34, 34, 44, 44, 54, 54, 64, 64, 74, 74, 84, 84, 94, 94, 104, 104, 114, 114, 124, 124, 134, 134, 144, 144, 154, 154, 164, 164, 174, 174, 184, 184, 194, 194, 204, 204, 214, 214, 224, 224, 234, 234, 244, 244, 254, 254, 264, 264, 274, 274, 284 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = 10*n - a(n-1) - 2, with n>1, a(1)=4.
G.f.: 2*x*(2 + 5*x - 2*x^2)/((1+x)*(x-1)^2). - Vincenzo Librandi, Sep 19 2013
a(n) = a(n-1) +a(n-2) -a(n-3). - Vincenzo Librandi, Sep 19 2013
a(n) = 2*A168278(n). - Bruno Berselli, Sep 19 2013
E.g.f.: (1/2)*(5 - 8*exp(x) + (10*x + 3)*exp(2*x))*exp(-x). - G. C. Greubel, Jul 22 2016
MATHEMATICA
Table[4 + 10 Floor[n/2], {n, 70}] (* or *) CoefficientList[Series[(4 + 10 x - 4 x^2)/((1 + x) (x - 1)^2), {x, 0, 70}], x] (* Vincenzo Librandi, Sep 19 2013 *)
PROG
(Magma) [4+10*Floor(n/2): n in [1..70]]; // Vincenzo Librandi, Sep 19 2013
CROSSREFS
Sequence in context: A098363 A276703 A170847 * A189814 A200553 A229392
KEYWORD
nonn,easy,less
AUTHOR
Vincenzo Librandi, Nov 25 2009
EXTENSIONS
New definition by Vincenzo Librandi, Sep 19 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 March 29 02:23 EDT 2024. Contains 371264 sequences. (Running on oeis4.)