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.

A331739 a(n) is n minus its largest odd divisor.

Original entry on oeis.org

0, 1, 0, 3, 0, 3, 0, 7, 0, 5, 0, 9, 0, 7, 0, 15, 0, 9, 0, 15, 0, 11, 0, 21, 0, 13, 0, 21, 0, 15, 0, 31, 0, 17, 0, 27, 0, 19, 0, 35, 0, 21, 0, 33, 0, 23, 0, 45, 0, 25, 0, 39, 0, 27, 0, 49, 0, 29, 0, 45, 0, 31, 0, 63, 0, 33, 0, 51, 0, 35, 0, 63, 0, 37, 0, 57, 0, 39, 0, 75, 0, 41, 0, 63, 0, 43, 0, 77, 0, 45, 0, 69, 0, 47
Offset: 1

Views

Author

Antti Karttunen, Feb 02 2020

Keywords

Crossrefs

Cf. A129527 (even bisection).

Programs

Formula

a(n) = n - A000265(n).
Sum_{k=1..n} a(k) ~ n^2/6. - Amiram Eldar, Sep 13 2024