|
|
A164338
|
|
Conway's creeper sequence
|
|
3
|
|
|
12334444, 55667777, 123334444, 556667777, 1233334444, 5566667777, 12333334444, 55666667777, 123333334444, 556666667777, 1233333334444, 5566666667777, 12333333334444, 55666666667777, 123333333334444
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Trajectory of 12334444 under the RATS function A036839.
John Conway calls this sequence "the creeper" and conjectures that the RATS trajectory of every n >= 1 eventually enters a cycle or the creeper. David Wilson confirms this conjecture for n <= 10^10.
Continues with the obvious digital pattern.
Since a(n+2) = a(n) except for an added digit, this sequence can be described as a quasi-cycle of period 2 with smallest element 12334444. This is how it is treated in related sequences such as A161590, A161592 and A161593.
|
|
LINKS
|
|
|
FORMULA
|
a(n+2) = 10 a(n) - 9996 (n odd)
a(n+2) = 10 a(n) - 9993 (n even)
a(n+4) = 11 a(n+2) - 10 a(n)
G.f.: x*(-55677770*x^3 - 12344440*x^2 + 55667777*x + 12334444)/(10*x^4 - 11*x^2 + 1). - Chai Wah Wu, Feb 08 2020
|
|
PROG
|
(Haskell)
a164338 n = a164338_list !! (n-1)
a164338_list = iterate a036839 12334444
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|