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!)
A365367 Number of steps for iteration of map x -> (5/3)*round(x) to reach an integer > n when started at n, or -1 if no such integer is ever reached. 5
3, 2, 1, 3, 15, 1, 2, 14, 1, 5, 2, 1, 13, 4, 1, 2, 4, 1, 5, 2, 1, 12, 3, 1, 2, 3, 1, 3, 2, 1, 3, 4, 1, 2, 4, 1, 11, 2, 1, 5, 6, 1, 2, 8, 1, 4, 2, 1, 4, 3, 1, 2, 3, 1, 3, 2, 1, 3, 5, 1, 2, 10, 1, 4, 2, 1, 4, 5, 1, 2, 6, 1, 7, 2, 1, 5, 3, 1, 2, 3, 1, 3, 2, 1, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Conjecture: an integer will always be reached, i.e. a(n) > 0 for all n.
LINKS
PROG
(Python)
from fractions import Fraction
def A365367(n):
x, c = Fraction(n), 0
while x.denominator > 1 or x<=n:
x = Fraction(5*x.__round__(), 3)
c += 1
return c
CROSSREFS
Sequence in context: A025261 A111572 A046900 * A270828 A325315 A230845
KEYWORD
nonn
AUTHOR
Chai Wah Wu, Sep 02 2023
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 July 11 06:01 EDT 2024. Contains 374216 sequences. (Running on oeis4.)