|
|
A037570
|
|
Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,2.
|
|
1
|
|
|
2, 11, 57, 287, 1436, 7182, 35912, 179561, 897807, 4489037, 22445186, 112225932, 561129662, 2805648311, 14028241557, 70141207787, 350706038936, 1753530194682, 8767650973412, 43838254867061, 219191274335307, 1095956371676537
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(2+x+2*x^2) / ( (x-1)*(5*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 27 2015
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {2, 1, 2}], 5], {n, 30}] (* or *) LinearRecurrence[{5, 0, 1, -5}, {2, 11, 57, 287}, 30] (* Harvey P. Dale, Jul 04 2024 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|