This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A033481 3x+1 sequence beginning at 21. 0
 21, 64, 32, 16, 8, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 LINKS MATHEMATICA NestList[If[EvenQ[#], #/2, 3#+1]&, 21, 100] (* or *) PadRight[ {21, 64, 32, 16, 8}, 100, {2, 1, 4}] (* Harvey P. Dale, Sep 30 2018 *) CROSSREFS Sequence in context: A113781 A299450 A300088 * A041862 A041860 A041864 Adjacent sequences:  A033478 A033479 A033480 * A033482 A033483 A033484 KEYWORD nonn AUTHOR 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.

Last modified June 19 13:11 EDT 2019. Contains 324222 sequences. (Running on oeis4.)