OFFSET
1,2
COMMENTS
If the sum of the reciprocals of a Collatz sequence is bounded, there are no Collatz cycles other than 4,2,1,4,2,1,...
LINKS
EXAMPLE
For n=9 the Collatz sequence is {9, 28, 14, 7, 22, 11, 34, 17, 52, 26, 13, 40, 20, 10, 5, 16, 4, 2, 1}. So the sum of the reciprocals is 1/9 + 1/28 + 1/14 + 1/7 + 1/22 + 1/11 + ... + 1/4 + 1/2 + 1/1 = 1061683/350064, whose denominator is 350064.
MATHEMATICA
Collatz[n_] := NestWhileList[If[EvenQ[#], #/2, 3 # + 1] &, n, # > 1 &]; Table[Denominator[Total[1/Collatz[n]]], {n, 40}] (* T. D. Noe, May 15 2013 *)
PROG
(Haskell)
import Data.Ratio (denominator)
a225784 = denominator . sum . map (recip . fromIntegral) . a070165_row
-- Reinhard Zumkeller, May 16 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Nico Brown, May 15 2013
EXTENSIONS
Extended by T. D. Noe, May 15 2013
STATUS
approved