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!)
A168413 a(n) = 9*n - a(n-1) - 5, with a(1)=2. 1
2, 11, 11, 20, 20, 29, 29, 38, 38, 47, 47, 56, 56, 65, 65, 74, 74, 83, 83, 92, 92, 101, 101, 110, 110, 119, 119, 128, 128, 137, 137, 146, 146, 155, 155, 164, 164, 173, 173, 182, 182, 191, 191, 200, 200, 209, 209, 218, 218, 227, 227, 236, 236, 245, 245, 254, 254 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
G.f.: x*(2 + 9*x - 2*x^2) / ( (1+x)*(x-1)^2 ). - R. J. Mathar, Jul 10 2011
E.g.f.: (1/4)*(9 - 8*exp(x) + (18*x - 1)*exp(2*x))*exp(-x). - G. C. Greubel, Jul 22 2016
EXAMPLE
For n=2, a(2)=9*2-2-5=11; n=3, a(3)=9*3-11-5=11; n=4, a(4)=9*4-11-5=20.
MATHEMATICA
LinearRecurrence[{1, 1, -1}, {2, 11, 11}, 50] (* G. C. Greubel, Jul 22 2016 *)
PROG
(Magma) [-(1/4)+(9/4)*(-1)^n+(9/2)*n: n in [1..60]]
CROSSREFS
Cf. A017186.
Sequence in context: A027828 A106371 A145523 * A265561 A265545 A153705
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 25 2009
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 11:35 EDT 2024. Contains 371912 sequences. (Running on oeis4.)