Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A063268
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A063268 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, 5n-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. +0
3
0, 1, 5, 3, 1, 1, 19, 7, 3, 7, 3, 19, 12, 6, 41, 15, 5, 13, 7, 35, 15, 5, 21, 9, 13, 31, 41, 4, 55, 1, 85, 31, 9, 25, 2, 17, 4, 1, 8, 9, 7, 15, 5, 75, 5, 33, 43, 7, 10, 7, 15, 15, 6, 19, 15, 4, 29, 17, 3, 65, 31, 23, 173, 63, 17, 49, 4, 43, 23, 3, 55, 17, 9, 7, 25, 19, 8, 71, 47, 5, 3, 9 (list; graph; listen)
OFFSET

1,3

EXAMPLE

We get 6/1 -> 5/3 -> 2/3 -> 1/1 so a(6)=1. also 333/1 -> 332/13 -> 319/83 -> 236/797 -> 561/59 -> 502/701 -> 199/251 -> 52/497 -> 445/13 -> 432/139 -> 293/27 -> 266/183 -> 83/133 -> 50/207 -> 157/25 -> 132/49 -> 83/33 -> 50/207 so a(333)=0 (n=333 is the smallest n>1 with a(n)=0).

CROSSREFS

Cf. A062366, A063256, A063257.

Sequence in context: A096937 A097527 A132400 this_sequence A021657 A011332 A092235

Adjacent sequences: A063265 A063266 A063267 this_sequence A063269 A063270 A063271

KEYWORD

nonn

AUTHOR

Floor van Lamoen (fvlamoen(AT)hotmail.com), Jul 12 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 4 18:25 EDT 2008. Contains 140886 sequences.


AT&T Labs Research