OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Collatz Problem
Wikipedia, Collatz conjecture
FORMULA
EXAMPLE
For n=4 the a(n)=12 because the fourth prime is 7 and if you start with 7, the 12th term of syracuse-sequence is 1. The syracuse-sequence starting with 7 has the dimension 12.
PROG
(Haskell)
a179627 = (+ 1) . a006666 . a000040 -- Reinhard Zumkeller, Apr 03 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Roland Schroeder (florola(AT)gmx.de), Jul 21 2010
EXTENSIONS
Offset fixed by Reinhard Zumkeller, Apr 03 2012
STATUS
approved