This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A355240 #19 Sep 02 2022 07:45:01 %S A355240 3,8,13,44,75,88,101,119 %N A355240 Numbers of steps until the Collatz iteration started at k > 4 returns to either k-1 or k+1. %C A355240 It is conjectured that no further terms exist. %C A355240 _Michael S. Branicky_ checked this up to 2*10^9 and found no starting values other than the 74 terms given in A355239 and also in the attached file. %C A355240 The terms of this sequence are expected to be close to the sum of numerators and denominators in a rational approximation of log(2)/log(3). See A355514, which shares terms 3, 8, 13, 44, 75. %H A355240 Hugo Pfoertner, <a href="/A355240/a355240.txt">Collatz iterations started at k returning to k+-1</a>. %o A355240 (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)}; %o A355240 a355240(10000) %Y A355240 Cf. A005186, A006577, A355514. %Y A355240 A355239 gives the list of starting values. %Y A355240 Cf. A355568, A355569. %K A355240 nonn,more %O A355240 1,1 %A A355240 _Hugo Pfoertner_, Jul 04 2022