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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A081170 Triangle in which n-th row gives trajectory of n (including n itself) under the map x -> x/2 if x is even, x -> x-3 if x is odd, stopping when reach 0 or 1. 0
 3, 0, 4, 2, 1, 5, 2, 1, 6, 3, 0, 7, 4, 2, 1, 8, 4, 2, 1, 9, 6, 3, 0, 10, 5, 2, 1, 11, 8, 4, 2, 1, 12, 6, 3, 0, 13, 10, 5, 2, 1, 14, 7, 4, 2, 1, 15, 12, 6, 3, 0, 16, 8, 4, 2, 1, 17, 14, 7, 4, 2, 1, 18, 9, 6, 3, 0, 19, 16, 8, 4, 2, 1, 20, 10, 5, 2, 1, 21, 18, 9, 6, 3, 0, 22, 11, 8, 4, 2, 1, 23, 20, 10, 5, 2 (list; graph; refs; listen; history; text; internal format)
 OFFSET 3,1 LINKS PROG (PARI) xn1m3(n) = { for(x=3, n, x1=x; print1(x1" "); while(x1>1, if(x1%2==0, x1/=2, x1=x1-3); print1(x1" "); ) ) } CROSSREFS Cf. A080825. Sequence in context: A131486 A127445 A324025 * A201291 A272192 A077150 Adjacent sequences:  A081167 A081168 A081169 * A081171 A081172 A081173 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.

Last modified October 21 09:09 EDT 2020. Contains 337911 sequences. (Running on oeis4.)