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!)
A365368 First integer > n reached under iteration of map x -> (5/3)*round(x) when started at n, or -1 if no such integer is ever reached. 4
5, 5, 5, 20, 10245, 10, 20, 10245, 15, 130, 30, 20, 10245, 105, 25, 45, 130, 30, 245, 55, 35, 10245, 105, 40, 70, 120, 45, 130, 80, 50, 145, 245, 55, 95, 270, 60, 10245, 105, 65, 520, 870, 70, 120, 2605, 75, 355, 130, 80, 380, 230, 85, 145, 245, 90, 255, 155, 95 (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 A365368(n):
x = Fraction(n)
while x.denominator > 1 or x<=n:
x = Fraction(5*x.__round__(), 3)
return int(x)
CROSSREFS
Sequence in context: A013607 A260960 A283711 * A098526 A262122 A216876
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 May 7 00:25 EDT 2024. Contains 372298 sequences. (Running on oeis4.)