|
| |
|
|
A168460
|
|
a(n)=10*n-a(n-1)-8, with a(1)=6.
|
|
0
|
|
|
|
6, 6, 16, 16, 26, 26, 36, 36, 46, 46, 56, 56, 66, 66, 76, 76, 86, 86, 96, 96, 106, 106, 116, 116, 126, 126, 136, 136, 146, 146, 156, 156, 166, 166, 176, 176, 186, 186, 196, 196, 206, 206, 216, 216, 226, 226, 236, 236, 246, 246, 256, 256, 266, 266, 276, 276, 286
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
1,1
|
|
|
LINKS
|
Table of n, a(n) for n=1..57.
Index to sequences with linear recurrences with constant coefficients, signature (1,1,-1).
|
|
|
FORMULA
|
a(n) = 2*A168283(n). a(n+1) = A017341(floor(n/2)). G.f. 2*x*(3+2*x^2) / ( (1+x)*(x-1)^2 ). - R. J. Mathar, Jan 04 2011
|
|
|
EXAMPLE
|
For n=2, a(2)=10*2-6-8=6; n=3, a(3)=10*3-6-8=16; n=4, a(4)=10*4-16-8=16
|
|
|
MATHEMATICA
|
RecurrenceTable[{a[1]==6, a[n]==10n-a[n-1]-8}, a, {n, 80}] (* or *) LinearRecurrence[{1, 1, -1}, {6, 6, 16}, 80] (* From Harvey P. Dale, Apr 25 2011 *)
|
|
|
CROSSREFS
|
Sequence in context: A168414 A058563 A175561 * A038518 A151724 A000976
Adjacent sequences: A168457 A168458 A168459 * A168461 A168462 A168463
|
|
|
KEYWORD
|
nonn,easy
|
|
|
AUTHOR
|
Vincenzo Librandi, Nov 26 2009
|
|
|
STATUS
|
approved
|
| |
|
|