login
A264973
Trajectory of 262 under permutation A264966: a(0) = 262; for n >= 1, a(n) = A264966(a(n-1)).
4
262, 338, 850, 1058, 1238, 1838, 1786, 734, 1622, 1594, 710, 554, 818, 1118, 1574, 2014, 1834, 1306, 742, 1922, 1270, 838, 1018, 718, 334, 290, 802, 622, 322, 494, 650, 478, 266, 946, 550, 274, 458, 922, 766, 790, 1778, 1054, 826, 1418, 1358, 1982, 1606, 1954, 614, 674, 794, 1478, 1702, 986, 1526, 1870, 1714, 1090, 598, 298, 386, 970, 1370
OFFSET
0,1
COMMENTS
The trajectory is probably infinite, not periodic.
LINKS
FORMULA
a(0) = 262; for n >= 1, a(n) = A264966(a(n-1)).
EXAMPLE
a(0) = 262 by definition. Its base-3 representation is A007089(262) = 100201. Reversing the significant prefix (in this case the whole expansion because no trailing zeros present), we get 102001 (= A007089(298)). Base-2 representation of 298 is 100101010 (= A007088(298)). Reversing its significant prefix, we get 101010010 (= A007088(338)), thus a(1) = 338.
PROG
(Scheme, with memoizing macro definec)
(definec (A264973 n) (if (zero? n) 262 (A264966 (A264973 (- n 1)))))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Dec 06 2015
STATUS
approved