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!)
A168416 a(n) = 1 + 9*floor(n/2). 1
1, 10, 10, 19, 19, 28, 28, 37, 37, 46, 46, 55, 55, 64, 64, 73, 73, 82, 82, 91, 91, 100, 100, 109, 109, 118, 118, 127, 127, 136, 136, 145, 145, 154, 154, 163, 163, 172, 172, 181, 181, 190, 190, 199, 199, 208, 208, 217, 217, 226, 226, 235, 235, 244, 244, 253, 253 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = 9*n - a(n-1) - 7, with n>1, a(1)=1.
G.f.: x*(1 + 9*x - 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
E.g.f.: (1/4)*(9 - 4*exp(x) + (18*x - 5)*exp(2*x))*exp(-x). - G. C. Greubel, Jul 22 2016
MATHEMATICA
Table[1 + 9 Floor[n/2], {n, 70}] (* or *) CoefficientList[Series[(1 + 9 x - x^2)/((1 + x) (x - 1)^2), {x, 0, 70}], x] (* Vincenzo Librandi, Sep 19 2013 *)
PROG
(Magma) [1+9*Floor(n/2): n in [1..70]]; // Vincenzo Librandi, Sep 19 2013
CROSSREFS
Cf. A017173.
Sequence in context: A363328 A047879 A344336 * A141324 A097041 A331057
KEYWORD
nonn,easy
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 April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)