login
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

%I #6 Mar 30 2012 18:57:12

%S 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,

%T 11,13,15,17,13,15,17,21,19,29,31,33,12,37,14,16,18,22,14,16,18,20,22,

%U 28,30,32,32,36,34,36,38,42,15,54,19,21

%N 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.

%e 4->[4r]=5 (step 1)

%e 5->[5/r]=3 (step 2)

%e 3->[3/r]=2 (step 3),

%e so that a(4)=3.

%Y Cf. A182649, A182650, A182652.

%K nonn

%O 1,4

%A _Clark Kimberling_, Nov 26 2010