cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A387409 Partial sums of A387422 minus partial sums of A387412.

Original entry on oeis.org

0, 0, 0, -2, -2, -1, -1, -1, -1, -3, -3, -2, -1, 0, 1, 0, 0, -1, -1, 2, 3, 3, 3, 4, 2, 0, -1, 2, 2, 1, 1, 1, -3, -3, -5, -4, -2, -4, -5, -5, -5, -8, -8, -6, -7, -8, -8, -10, -10, -10, -10, -8, -6, -5, -5, -3, -8, -8, -8, -8, -5, -5, -4, -5, -4, -2, -2, -3, -5, -3, -3, -4, -3, -3, -3, -1, -3, -2, -2, -1, -2, -3, -2
Offset: 1

Views

Author

Antti Karttunen, Sep 03 2025

Keywords

Comments

Also partial sums of A387413 minus partial sums of A387423.
This sequence gives some measure of how much longer the common prefix of the binary expansions of n and sigma(n) is - on average - than the common prefix of the binary expansions of n and A003961(n).
Question: Does the sequence eventually grow without limit and is it just because A003961(n) >= A000203(n)? Does ratio a(n)/n converge to any limit?

Crossrefs

Programs

Formula

a(n) = A387407(n) - A387408(n).
a(n) = A387425(n) - A387424(n).