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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A081171 Triangle in which n-th row gives trajectory of n (including n itself) under the map x -> x/2 if x is even, x -> 3x-3 if x is odd, stopping when reaching one of 1, 3, 5, 15, 51. 0
1, 0, 2, 1, 3, 0, 4, 2, 1, 5, 2, 1, 6, 3, 7, 4, 2, 1, 8, 4, 2, 1, 9, 6, 3, 10, 5, 11, 8, 4, 2, 1, 12, 6, 3, 13, 10, 5, 14, 7, 4, 2, 1, 15, 12, 6, 3, 16, 8, 4, 2, 1, 17, 14, 7, 4, 2, 1, 18, 9, 6, 3, 19, 16, 8, 4, 2, 1, 20, 10, 5, 21, 18, 9, 6, 3, 22, 11, 8, 4, 2, 1, 23, 20, 10, 5, 24, 12, 6, 3, 25, 22 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Table of n, a(n) for n=1..92.

PROG

(PARI) xn1m3(n) = { for(x=1, n, x1=x; print1(x1" "); while(x1>1, if(x1%2==0, x1/=2, x1=3*x1-3); print1(x1" "); ) ) }

CROSSREFS

Cf. A080825.

Sequence in context: A246024 A278529 A160588 * A062778 A108202 A025480

Adjacent sequences:  A081168 A081169 A081170 * A081172 A081173 A081174

KEYWORD

easy,nonn,tabf

AUTHOR

Cino Hilliard, Apr 16 2003

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 September 21 00:17 EDT 2019. Contains 327252 sequences. (Running on oeis4.)