OFFSET
1,2
PROG
(PARI) a6577(n0)={my(n=n0, k=0); while(n>1, k++; n=if(n%2, 3*n+1, n/2)); k};
a346783(limit)={my(msteps=0); for(k=0, limit, my(m=a6577(k!)); if(m>msteps, print1(m, ", "); msteps=m))};
a346783(150)
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Aug 04 2021
STATUS
approved