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!)
A347380 Length of the common prefix in the binary expansions of A156552(n) and A332221(n) = A156552(sigma(n)). 7
0, 1, 1, 1, 2, 3, 1, 1, 1, 1, 2, 2, 4, 2, 3, 1, 1, 1, 3, 4, 1, 1, 2, 3, 1, 3, 1, 6, 2, 1, 1, 1, 2, 1, 3, 1, 8, 2, 4, 2, 3, 2, 5, 3, 2, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 2, 3, 2, 2, 2, 11, 2, 3, 1, 3, 1, 7, 3, 2, 1, 1, 1, 12, 7, 1, 2, 3, 3, 3, 3, 2, 3, 3, 3, 1, 4, 2, 2, 2, 2, 3, 3, 1, 1, 2, 2, 1, 1, 4, 1, 6, 1, 6, 2, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
FORMULA
a(n) = A252464(n) - A347381(n).
a(n) = A348040(n, A000203(n)). - Antti Karttunen, Jan 30 2022
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); };
A156552(n) = {my(f = factor(n), p, p2 = 1, res = 0); for(i = 1, #f~, p = 1 << (primepi(f[i, 1]) - 1); res += (p * p2 * (2^(f[i, 2]) - 1)); p2 <<= f[i, 2]); res}; \\ From A156552
A347380(n) = Abincompreflen(A156552(n), A156552(sigma(n)));
CROSSREFS
Sequence in context: A255824 A122587 A276333 * A308638 A356320 A207572
KEYWORD
nonn
AUTHOR
Antti Karttunen, Aug 30 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 July 3 13:06 EDT 2024. Contains 373982 sequences. (Running on oeis4.)