A127789 Record indices of 2^h(n)/(3^t(n)*n), where h and t are the number of halving resp. tripling steps in the '3x + 1' problem.
1, 3, 7, 9, 505, 559, 745, 993
Offset: 1
Links
- Eric Roosendaal, On the 3x+1 Problem
Crossrefs
Programs
-
PARI
(c(n,c=[0,0])=while(n>1,bittest(n,0)&&c[1]++&&(n=n*3+1)&&next;n\=2;c[2]++);c); m=1;for(n=1,oo,m<<(t=c(n))[2]>n*3^t[1]||next;m=n*3^t[1]/2^t[2];print1(n", ")) \\ M. F. Hasler, May 07 2018
Extensions
New name from M. F. Hasler, May 07 2018
Comments