login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A324734 Number of 0-bits present between the most and the least significant 1-bits in A324712(n), and 0 if A324712(n) = 0; a(n) = A324733(n) - A324829(n). 3
0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 2, 1, 0, 0, 1, 2, 1, 2, 0, 0, 0, 0, 2, 2, 3, 1, 0, 0, 2, 0, 0, 0, 0, 3, 2, 2, 0, 0, 2, 2, 0, 3, 0, 0, 4, 1, 2, 2, 0, 1, 0, 4, 1, 2, 3, 1, 0, 5, 2, 1, 0, 1, 0, 2, 3, 2, 3, 1, 0, 0, 1, 5, 0, 1, 3, 3, 4, 1, 0, 1, 2, 5, 4, 5, 3, 0, 0, 0, 4, 2, 0, 4, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,21

LINKS

Antti Karttunen, Table of n, a(n) for n = 1..10000

Index entries for sequences related to binary expansion of n

Index entries for sequences computed from indices in prime factorization

Index entries for sequences related to sigma(n)

FORMULA

a(n) = A324733(n) - A324829(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

A007814(n) = valuation(n, 2)

A324829(n) = hammingweight(A324712(n));

A324733(n) = { my(k=A324712(n)); if(!k, k, 1 + (A000523(k)-A007814(k))); };

A324734(n) = (A324733(n) - A324829(n));

CROSSREFS

Cf. A323243, A324712, A324733, A324829, A324735.

Sequence in context: A014674 A015339 A137867 * A111143 A004197 A261684

Adjacent sequences:  A324731 A324732 A324733 * A324735 A324736 A324737

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 27 02:54 EDT 2019. Contains 323597 sequences. (Running on oeis4.)