OFFSET
1,2
COMMENTS
Provided that a number m will iterate to the number 1 by the (3x+1) algorithm, taking s steps and also provided that m is not a power of 2, then the sequence beginning with the number m will terminate at 2^s
LINKS
FORMULA
A sequence begins with any positive integer. If a(n) = 2^k then the sequence terminates. a(n+1)=6.a(n) + 2^(k+1) where 2^k is derived from the formula a(n)=m.2^k, with m odd.
EXAMPLE
If a(1)=7 then a(2) = 6.7 + 2 =44 44 can be expressed as 11.2^2, therefore a(3) = 6.44 + 2^3 =272
2; 3,20,128; 4; 5,32; 6,40,256; 7,44,272,1664,10240,65536; ...
CROSSREFS
KEYWORD
nonn,tabf,easy
AUTHOR
John Hulbert (john.hulbert(AT)velnet.co.uk), Apr 15 2002
EXTENSIONS
More terms from David Wasserman, Apr 07 2003
STATUS
approved