login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A135727 Maximal value in orbit of n under the map A001281(x)=3x-1 if x odd, x/2 if x even. 5
0, 2, 2, 8, 4, 20, 8, 20, 8, 56, 20, 32, 12, 56, 20, 44, 16, 272, 56, 56, 20, 272, 32, 272, 24, 272, 56, 80, 28, 128, 44, 272, 32, 488, 272, 104, 56, 272, 56, 128, 40, 272, 272, 128, 44, 272, 272, 140, 48, 488, 272 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

On the set of positive integers, the orbit of any number under A001281 seems to end in the orbit of 2, of 20 or of 272, which are the respective maxima of these cycles. Since any odd number increases under the map A001281, all elements of this sequence are even.

PROG

(PARI) A135727(n)=local(m=n); if(n, while( n != 272 & n != 20 & n != 2, if( n%2, n=3*n-1; m=max(n, m), n>>=1))); m

CROSSREFS

Cf. A001281, A037084, A039500-A039505, A135728-A135730. A006370, A006577.

Sequence in context: A143625 A003612 A103839 * A075101 A075103 A021818

Adjacent sequences:  A135724 A135725 A135726 * A135728 A135729 A135730

KEYWORD

nonn

AUTHOR

M. F. Hasler (Maximilian.Hasler(AT)gmail.com), Nov 26 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 07:39 EST 2012. Contains 205881 sequences.