login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A368228
Main diagonal of A368227: the n-th term in the trajectory of n under the A006369 map.
2
0, 1, 2, 2, 6, 5, 4, 6, 41, 7, 86, 129, 97, 68, 49, 68, 49, 287, 102, 137, 102, 137, 385, 538, 183, 513, 361, 511, 338, 481, 681, 1791, 161, 855, 605, 801, 271, 751, 538, 356, 1939, 1325, 890, 637, 111, 1194, 380, 2111, 755, 1977, 163, 1887, 601, 1701, 563, 12403, 513, 1491, 7802
OFFSET
0,3
FORMULA
a(n) = A368227(n,n).
MATHEMATICA
A368228[n_]:=Nest[If[Divisible[#, 3], 2#/3, Round[4#/3]]&, n, n];
Array[A368228, 100, 0]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paolo Xausa, Dec 18 2023
STATUS
approved