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!)
A364569 Length of the common prefix in the binary expansions of A156552(n) and n-1 [= A156552(A005940(n))]. 5
0, 1, 2, 2, 3, 3, 1, 3, 1, 4, 2, 4, 1, 1, 1, 4, 5, 1, 3, 5, 2, 2, 2, 5, 4, 1, 2, 1, 1, 1, 1, 5, 4, 5, 2, 1, 3, 3, 3, 6, 2, 2, 2, 2, 5, 2, 2, 6, 5, 4, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 4, 4, 5, 5, 4, 2, 4, 1, 3, 3, 1, 3, 2, 3, 3, 7, 1, 2, 2, 2, 2, 2, 2, 2, 2, 5, 2, 2, 2, 2, 2, 7, 1, 5, 1, 4, 1, 1, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
PROG
(PARI)
Abincompreflen(n, m) = { my(x=binary(n), y=binary(m), u=min(#x, #y)); for(i=1, u, if(x[i]!=y[i], return(i-1))); (u); };
A364569(n) = Abincompreflen(A156552(n), (n-1));
CROSSREFS
Cf. also A347380.
Sequence in context: A227314 A356321 A128924 * A239957 A230040 A242361
KEYWORD
nonn
AUTHOR
Antti Karttunen, Aug 14 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 April 28 07:46 EDT 2024. Contains 372020 sequences. (Running on oeis4.)