OFFSET
1,2
COMMENTS
The Collatz function is as follows: F(x) = x/2 if x is even, otherwise F(x) = 3*x+1.
It is conjectured that starting from any number, and repeatedly applying the function on its previous result, we will always reach 1.
LINKS
Guo-Gang Gao, On consecutive numbers of the same height in the Collatz problem, Discrete Mathematics, Volume 112, pages 261-267, 1993.
EXAMPLE
a(3) = 108 because 108, 109 and 110 have same d-value (113) and same h-value (9232).
And 108 is the smallest number starting such sequence of 3 consecutive positive integers with same d-value and same h-value.
CROSSREFS
KEYWORD
nonn
AUTHOR
Lamine Ngom, Feb 10 2021
STATUS
approved