[go: up one dir, main page]

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!)
Revision History for A364801 (Underlined text is an addition; strikethrough text is a deletion.)

Showing entries 1-10 | older changes
A364801 The number of iterations that n requires to reach a fixed point under the map x -> A022290(x).
(history; published version)
#13 by Michael De Vlieger at Thu Aug 10 12:23:56 EDT 2023
STATUS

reviewed

approved

#12 by Michel Marcus at Thu Aug 10 12:17:18 EDT 2023
STATUS

proposed

reviewed

#11 by Chai Wah Wu at Thu Aug 10 12:14:28 EDT 2023
STATUS

editing

proposed

#10 by Chai Wah Wu at Thu Aug 10 12:14:26 EDT 2023
PROG

return A364801(s)+1 # Chai Wah Wu, Aug 10 2023

#9 by Chai Wah Wu at Thu Aug 10 12:14:17 EDT 2023
PROG

(Python)

def A364801(n):

if n<4: return 0

a, b, s = 1, 2, 0

for i in bin(n)[-1:1:-1]:

if int(i):

s += a

a, b = b, a+b

return A364801(s)+1 # Chai Wah Wu, Aug 10 2023

STATUS

approved

editing

#8 by OEIS Server at Wed Aug 09 02:14:55 EDT 2023
LINKS

Amiram Eldar, <a href="/A364801/b364801_1.txt">Table of n, a(n) for n = 0..10000</a>

#7 by Michel Marcus at Wed Aug 09 02:14:55 EDT 2023
STATUS

reviewed

approved

Discussion
Wed Aug 09 02:14
OEIS Server: Installed first b-file as b364801.txt.
#6 by Joerg Arndt at Wed Aug 09 02:04:22 EDT 2023
STATUS

proposed

reviewed

#5 by Amiram Eldar at Tue Aug 08 09:21:09 EDT 2023
STATUS

editing

proposed

#4 by Amiram Eldar at Tue Aug 08 09:17:42 EDT 2023
LINKS

Amiram Eldar, <a href="/A364801/b364801_1.txt">Table of n, a(n) for n = 0..10000</a>

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 August 29 13:55 EDT 2024. Contains 375517 sequences. (Running on oeis4.)