login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A213204 Number of terms of the Collatz (3x+1) trajectory of n that are greater than or equal to n. 1
1, 1, 6, 1, 3, 4, 13, 1, 14, 2, 9, 2, 4, 9, 12, 1, 5, 8, 11, 1, 3, 5, 8, 1, 11, 2, 103, 4, 6, 9, 98, 1, 11, 3, 6, 3, 5, 6, 18, 1, 98, 2, 11, 2, 4, 6, 93, 1, 6, 5, 8, 1, 3, 96, 99, 1, 10, 2, 12, 5, 7, 92, 94, 1, 6, 4, 7, 1, 3, 4, 88, 1, 98, 2, 8, 2, 4, 11, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

T. D. Noe, Table of n, a(n) for n = 1..10000

FORMULA

a(n) = A222597(n) - 1.

EXAMPLE

For n=3, the Collatz trajectory is 3, 10, 5, 16, 8, 4, 2, 1 and hence a(3)=6.

MATHEMATICA

Collatz[n_] := NestWhileList[If[EvenQ[#], #/2, 3 # + 1] &, n, # > 1 &]; Table[Length[Select[Collatz[n], # >= n &]], {n, 100}]

CROSSREFS

Cf. A076228, A222597.

Sequence in context: A273191 A086316 A021167 * A085677 A321093 A219552

Adjacent sequences:  A213201 A213202 A213203 * A213205 A213206 A213207

KEYWORD

nonn

AUTHOR

Jayanta Basu, Mar 01 2013

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 1 11:59 EDT 2020. Contains 337443 sequences. (Running on oeis4.)