|
| |
|
|
A166524
|
|
a(n)=9*n-a(n-1), (with a(1)=1)
|
|
0
| |
|
|
1, 17, 10, 26, 19, 35, 28, 44, 37, 53, 46, 62, 55, 71, 64, 80, 73, 89, 82, 98, 91, 107, 100, 116, 109, 125, 118, 134, 127, 143, 136, 152, 145, 161, 154, 170, 163, 179, 172, 188, 181, 197, 190, 206, 199, 215, 208, 224, 217, 233, 226, 242, 235, 251, 244, 260, 253
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
LINKS
| Index to sequences with linear recurrences with constant coefficients, signature (1,1,-1)
|
|
|
FORMULA
| a(n)=(9/4)+(23/4)*(-1)^n+(9/2)*n, with a(1)=1 [From Paolo P. Lava (paoloplava(AT)gmail.com), Nov 10 2009]
G.f. -x*(-1-16*x+8*x^2) / ( (1+x)*(x-1)^2 ). - R. J. Mathar, Mar 08 2011
|
|
|
EXAMPLE
| For n=2, a(2)=9*2-1=17; n=3, a(3)=9*3-17=10; n=4, a(4)= 36-10=26
|
|
|
CROSSREFS
| Sequence in context: A083308 A113779 A061049 * A106791 A040274 A164064
Adjacent sequences: A166521 A166522 A166523 * A166525 A166526 A166527
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Oct 16 2009
|
| |
|
|