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!)
A341235 a(n) is the greatest term in n-th row of A341231. 3
1, 2, 4, 4, 14, 6, 8, 8, 28, 14, 28, 12, 28, 14, 16, 16, 62, 28, 52, 20, 62, 28, 56, 24, 62, 28, 44, 28, 52, 30, 32, 32, 122, 62, 100, 36, 110, 52, 104, 40, 122, 62, 124, 44, 118, 56, 112, 48, 122, 62, 84, 52, 112, 54, 88, 56, 110, 58, 76, 60, 100, 62, 64, 64 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Records of a(n)/n appear to happen for n in A083318.
LINKS
FORMULA
a(n) >= n, equality implies that n equals 1 or is even.
a(n) < 4*n.
EXAMPLE
For n = 10:
- the trajectory of 10 under A245471 is 10 -> 5 -> 14 -> 7 -> 8 -> 4 -> 2 -> 1,
- so a(10) = 14.
PROG
(PARI) a(n) = { my (m=n); while (n>1, m=max(m, n=if (n%2, bitxor(n, 2*n+1), n/2))); m }
CROSSREFS
Sequence in context: A290437 A154987 A089419 * A363649 A263023 A193848
KEYWORD
nonn,look,base
AUTHOR
Rémy Sigrist, Feb 07 2021
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 24 13:58 EDT 2024. Contains 371960 sequences. (Running on oeis4.)