A304119 Numerators of record low values of the ratio n*3^A006667(n)/2^A006666(n).
1, 27, 1701, 6561, 1760826122505, 115093142840908791, 460166680231540515, 1840049047529878113
Offset: 1
Examples
For n=1 to 10 the ratios are: 1, 1, 27/32, 1, 15/16, 27/32, 1701/2048, 1, 6561/8192, 15/16, so the low records are 1, 27/32, 1701/2048, 6561/8192, ...
Programs
-
Mathematica
q=1; Collatz[n_]:=NestWhileList[If[EvenQ[#], #/2, 3 #+1]&, n, #>1&]; nn=5000; t={}; n=0; While[Length[t]
-
PARI
ht(n) = my(h, t); while(n>1, if(n%2, n=3*n+1; t++, n>>=1; h++)); return([h, t]); lista(nn) = {m = 2; for (n=1, nn, v = ht(n); newm = n*3^v[2]/2^v[1]; if (newm < m, print1(numerator(newm), ", "); m = newm));} \\ Michel Marcus, May 06 2018
Comments