%I #32 Sep 08 2022 08:46:04
%S 44,66,99,74,111,83,62,93,70,105,79,59,44,66,99,74,111,83,62,93,70,
%T 105,79,59,44,66,99,74,111,83,62,93,70,105,79,59,44,66,99,74,111,83,
%U 62,93,70,105,79,59,44,66,99,74,111,83,62,93,70,105,79,59,44,66,99,74,111,83,62,93,70,105,79,59,44,66,99,74,111,83,62,93,70,105,79,59,44,66,99,74,111,83,62,93,70,105,79,59
%N Trajectory of 44 under the map k -> A006368(k).
%C Periodic with period length 12.
%C It is believed that this is the longest trajectory that cycles (the others are {1}, {2,3}, {4,6,9,7,5}).
%D See also references and links in A006368.
%H Colin Barker, <a href="/A217218/b217218.txt">Table of n, a(n) for n = 1..1000</a>
%H J. H. Conway, <a href="http://www.jstor.org/stable/10.4169/amer.math.monthly.120.03.192">On unsettleable arithmetical problems</a>, Amer. Math. Monthly, 120 (2013), 192-198.
%H John L Simons, <a href="https://arxiv.org/abs/2205.10582">Cycles and divergent trajectories for a class of permutation sequences</a>, arXiv:2205.10582 [math.NT], 2022.
%H <a href="/index/Rec#order_12">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,0,0,0,0,0,0,0,1).
%F a(n+1) = A006368(a(n)).
%F From _Colin Barker_, Aug 16 2019: (Start)
%F G.f.: x*(44 + 66*x + 99*x^2 + 74*x^3 + 111*x^4 + 83*x^5 + 62*x^6 + 93*x^7 + 70*x^8 + 105*x^9 + 79*x^10 + 59*x^11) / ((1 - x)*(1 + x)*(1 - x + x^2)*(1 + x^2)*(1 + x + x^2)*(1 - x^2 + x^4)).
%F a(n) = a(n-12) for n>12.
%F (End)
%t t={44}; While[n=t[[-1]]; s=If[EvenQ[n], 3*n/2, Round[3*n/4]]; Length[t]<100&&!MemberQ[t, s], AppendTo[t, s]]; t (* _Vincenzo Librandi_, Jun 28 2015 *)
%o (Haskell)
%o a217218 n = a217218_list !! (n-1)
%o a217218_list = iterate a006368 44 -- _Reinhard Zumkeller_, Apr 06 2013
%o (Magma) &cat[ [44,66,99,74,111,83,62,93,70,105,79,59]: n in [0..9] ]; // _Vincenzo Librandi_, Jun 28 2015
%o (PARI) Vec(x*(44 + 66*x + 99*x^2 + 74*x^3 + 111*x^4 + 83*x^5 + 62*x^6 + 93*x^7 + 70*x^8 + 105*x^9 + 79*x^10 + 59*x^11) / ((1 - x)*(1 + x)*(1 - x + x^2)*(1 + x^2)*(1 + x + x^2)*(1 - x^2 + x^4)) + O(x^40)) \\ _Colin Barker_, Aug 16 2019
%Y Cf. A006368.
%Y Trajectories under A006368 and A006369: A180853, A217218, A185590, A180864, A028393, A028394, A094328, A094329, A028396, A028395, A217729, A182205, A223083-A223088, A185589, A185590.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Oct 04 2012
|