OFFSET
1,1
COMMENTS
Excellent puzzle to get elementary students engaged in arithmetic. Recommended for use after the Collatz conjecture (3x+1 conjecture) is introduced side-by-side with its 3x-1 cousin.
In a tree of possible choices from n every positive integer occurs at most once which allows for lots of cutting in the search space. - David A. Corneth, May 26 2025
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000
David A. Corneth, list of n, a(n) and the (or a) shortest path of length a(n)
David A. Corneth, PARI program
EXAMPLE
a(25) is 8 because the shortest cycle containing 25 has 8 elements: 25 => 26 => 13 => 14 => 15 => 46 => 23 => 24 => 25.
PROG
(PARI) \\ See Corneth link
CROSSREFS
KEYWORD
nonn
AUTHOR
Gordon Hamilton, May 26 2025
EXTENSIONS
More terms from Alois P. Heinz, May 26 2025
STATUS
approved
