A355240 Numbers of steps until the Collatz iteration started at k > 4 returns to either k-1 or k+1.
3, 8, 13, 44, 75, 88, 101, 119
Offset: 1
Links
- Hugo Pfoertner, Collatz iterations started at k returning to k+-1.
Crossrefs
Programs
-
PARI
a355240(upto) = {my(D=List()); for (start=5, upto, my(old=start,new=0,L=0);while (abs(new-start)>1 && new!=1, L++; if(old%2==0,new=old/2,new=3*old+1);old=new); if(new>1, listput(~D,L))); Set(D)}; a355240(10000)
Comments