Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A062052
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A062052 Numbers with 2 odd integers in their Collatz (or 3x+1) trajectory. +0
12
5, 10, 20, 21, 40, 42, 80, 84, 85, 160, 168, 170, 320, 336, 340, 341, 640, 672, 680, 682, 1280, 1344, 1360, 1364, 1365, 2560, 2688, 2720, 2728, 2730, 5120, 5376, 5440, 5456, 5460, 5461, 10240, 10752, 10880, 10912, 10920, 10922, 20480, 21504, 21760, 21824 (list; graph; listen)
OFFSET

1,1

COMMENT

The Collatz (or 3x+1) function is f(x) = x/2 if x is even, 3x+1 if x is odd.

The Collatz trajectory of n is obtained by applying f repeatedly to n until 1 is reached.

Sequence is 2-automatic.

The sequence consists of terms of A002450 and their 2^k multiples. The first odd integer in the trajectory is one of the terms of A002450 and the second odd one is the terminal 1. - Antti Karttunen Feb 21 2006

REFERENCES

J. Shallit and D. Wilson, The "3x+1" Problem and Finite Automata, Bulletin of the EATCS #46 (1992) pp. 182-185.

LINKS

Index entries for sequences related to 3x+1 (or Collatz) problem

J. Shallit and D. Wilson, The "3x+1" Problem and Finite Automata, Bulletin of the EATCS #46 (1992) pp. 182-185.

PROGRAM

(PARI) for(n=2, 100000, s=n; t=0; while(s!=1, if(s%2==0, s=s/2, s=3*s+1; t++); if(s*t==1, print1(n, ", "); ); ))

CROSSREFS

Cf. A062053-A062060.

Is this a subset of A115774?.

Adjacent sequences: A062049 A062050 A062051 this_sequence A062053 A062054 A062055

Sequence in context: A053311 A115825 A115774 this_sequence A115799 A072703 A086761

KEYWORD

nonn

AUTHOR

David W. Wilson (davidwwilson(AT)comcast.net)

EXTENSIONS

The Collatz trajectory of 5 is (5,16,8,4,2,1), which contains 2 odd integers.

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 13 09:05 EDT 2008. Contains 145008 sequences.


AT&T Labs Research