We chose the Collatz-like Problem 338. Based on experiments, we conjecture that starting with any number leads into a repeating loop…