|
|
A037763
|
|
Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,1,2.
|
|
0
|
|
|
3, 27, 244, 2198, 19785, 178065, 1602586, 14423276, 129809487, 1168285383, 10514568448, 94631116034, 851680044309, 7665120398781, 68986083589030, 620874752301272, 5587872770711451
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(3+x^2+2*x^3) / ( (x-1)*(9*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, May 02 2015
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {3, 0, 1, 2}], 9], {n, 20}] (* or *) LinearRecurrence[{9, 0, 0, 1, -9}, {3, 27, 244, 2198, 19785}, 20] (* Harvey P. Dale, Jul 03 2021 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|