login
A182651
Algorithm: x->[rx] if x even, x->[x/r] if x odd, where r = sqrt(2); a(n) is the number of steps from n to 2.
3
1, 1, 1, 3, 2, 7, 4, 6, 8, 12, 5, 16, 9, 11, 13, 15, 17, 19, 10, 14, 12, 14, 16, 18, 18, 30, 11, 13, 15, 17, 13, 15, 17, 21, 19, 29, 31, 33, 12, 37, 14, 16, 18, 22, 14, 16, 18, 20, 22, 28, 30, 32, 32, 36, 34, 36, 38, 42, 15, 54, 19, 21
OFFSET
1,4
EXAMPLE
4->[4r]=5 (step 1)
5->[5/r]=3 (step 2)
3->[3/r]=2 (step 3),
so that a(4)=3.
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Nov 26 2010
STATUS
approved