OFFSET
1,2
COMMENTS
By definition the trajectory ends when 1 is reached, so a(1) = 1.
LINKS
EXAMPLE
a(10) = 16 because 16 is the largest value in the trajectory 10 -> 5 -> 16 -> 8 -> 4 -> 2 -> 1.
MATHEMATICA
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paolo Xausa, Aug 09 2024
STATUS
approved