|
| |
|
|
A033119
|
|
Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 1,0.
|
|
6
|
|
|
|
1, 9, 82, 738, 6643, 59787, 538084, 4842756, 43584805, 392263245, 3530369206, 31773322854, 285959905687, 2573639151183, 23162752360648, 208464771245832, 1876182941212489, 16885646470912401, 151970818238211610
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
1,2
|
|
|
COMMENTS
|
Partial sums of A015577. [From Mircea Merca, Dec 28 2010]
|
|
|
LINKS
|
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index to sequences with linear recurrences with constant coefficients, signature (9,1,-9).
|
|
|
FORMULA
|
a(n)= round((9*9^n-9)/80) = round((9*9^n-5)/80) = floor((9*9^n-1)/80) = ceil((9*9-9)/80); a(n)=a(n-2)+9^(n-1), n>1. [From Mircea Merca, Dec 28 2010]
G.f.: x / ( (x-1)*(9*x-1)*(1+x) ). a(n)=+9*a(n-1)+a(n-2)-9*a(n-3). - Joerg Arndt, Jan 08 2011
|
|
|
MAPLE
|
seq(floor((9*9^n-1)/80), n=1..25); [From Mircea Merca, Dec 28 2010]
|
|
|
MATHEMATICA
|
Join[{a=1, b=9}, Table[c=8*b+9*a+1; a=b; b=c, {n, 60}]] (*From Vladimir Joseph Stephan Orlovsky, Feb 06 2011*)
|
|
|
PROG
|
(MAGMA) [Round((9*9^n-9)/80): n in [1..30]]; // Vincenzo Librandi, Jun 25 2011
|
|
|
CROSSREFS
|
Cf. A015577
Sequence in context: A061211 A115988 A067506 * A033127 A099371 A068109
Adjacent sequences: A033116 A033117 A033118 * A033120 A033121 A033122
|
|
|
KEYWORD
|
nonn,base,easy
|
|
|
AUTHOR
|
Clark Kimberling
|
|
|
STATUS
|
approved
|
| |
|
|