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!)
A324735 Difference between the binary length and the binary weight of A324712. a(n) = 0 if A324712(n) = 0. 4
0, 0, 0, 1, 0, 2, 0, 2, 0, 1, 0, 0, 0, 2, 2, 4, 0, 0, 0, 2, 2, 2, 0, 3, 1, 3, 3, 2, 0, 2, 0, 3, 3, 3, 4, 3, 0, 2, 4, 5, 0, 3, 0, 3, 2, 3, 0, 3, 2, 2, 7, 3, 0, 2, 4, 3, 4, 5, 0, 2, 0, 5, 3, 5, 4, 1, 0, 5, 3, 2, 0, 3, 0, 3, 3, 2, 4, 1, 0, 3, 5, 6, 0, 1, 6, 4, 6, 4, 0, 1, 2, 5, 5, 6, 5, 4, 0, 3, 4, 3, 0, 4, 0, 7, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
COMMENTS
Number of nonleading 0-bits in A324712(n), with a(n) = 0 if A324712(n) = 0.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000 (based on Hans Havermann's factorization of A156552)
FORMULA
a(n) = A324728(n) - A324829(n).
If A327412(n) > 0, then a(n) = -1 + A324734(n) + A324724(n).
a(p) = 0 for all primes p.
PROG
(PARI)
A324712(n) = { my(v=0); fordiv(n, d, if(issquarefree(n/d), v=bitxor(v, A323243(d)))); (v); }; \\ Needs also code from A323243.
A000523(n) = if( n<1, 0, #binary(n) - 1); \\ From A000523
A324735(n) = { my(k=A324712(n)); if(!k, k, 1 + (A000523(k)-hammingweight(k))); };
CROSSREFS
Sequence in context: A278500 A035211 A352558 * A219495 A242041 A224937
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 17 2019
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 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)