Talk:Hailstone sequence: Difference between revisions

m
m (→‎cache version of C: web site Tomás Oliveira e Silva)
 
(One intermediate revision by one other user not shown)
Line 113:
[[http://sweet.ua.pt/tos/3x+1/t1.txt.gz]]
I dont know, why his values or only * 0.5 instead of 27 ->9232 is listed with 4616, 319804831 -> 1414236446719942480 is listed with 707118223359971240.
 
<br>
-----
<br>
 
It looks like my (lucky) guesstimate for REXX of &nbsp; '''20 decimal digits''' &nbsp; was very close to being on the nose, with the number &nbsp; '''319,804,831's''' &nbsp; Collatz sequence having &nbsp; '''19''' &nbsp; decimal digits for its maximum value &nbsp; ('''1,414,236,446,719,942,480'''). &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 22:56, 31 March 2016 (UTC)
:: thank you. thumps up . I thought about it and conclude that they speed up calculation by the observation, that every odd number gets even by 3*n+1 so they divide by 2 in the same calculation without the need of an IF-statement and add 2 to the length of the sequence.[[User:Horsth|Horsth]]
Anonymous user