login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A063256 Let f be a function on rationals p/q (p,q coprime) defined by f(p/q) = abs(p-q)/g(p), where g(p) is the next odd number (starting with p) that we get after iteration of h(n) = n/2 when n is even, 3n-1 when n is odd. Start with f(n/1) and iterate f until it reaches again an integer, which is a(n). If no integer is reached, then a(n)=0. 2
0, 1, 2, 3, 3, 5, 2, 7, 5, 9, 10, 8, 1, 9, 4, 15, 9, 17, 2, 2, 6, 15, 2, 2, 9, 7, 23, 4, 3, 15, 3, 31, 17, 33, 27, 2, 2, 4, 2, 5, 15, 21, 42, 32, 5, 33, 12, 11, 7, 1, 4, 2, 11, 5, 5, 1, 15, 3, 17, 4, 7, 33, 5, 63, 33, 65, 53, 2, 3, 2, 3, 11, 4, 45, 2, 8, 9, 3, 11, 2, 21, 3, 9, 2, 22, 63, 11, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
EXAMPLE
We get 14/1 -> 13/7 -> 6/19 -> 13/3 -> 10/19 -> 9/5 -> 4/13 -> 9/1 so a(14)=9.
CROSSREFS
Sequence in context: A329071 A232932 A252502 * A229703 A348883 A131320
KEYWORD
nonn
AUTHOR
Floor van Lamoen, Jul 12 2001
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 01:19 EDT 2024. Contains 371906 sequences. (Running on oeis4.)