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.

A378978 Deficiency of even numbers: a(n) = 4*n - sigma(2*n).

Original entry on oeis.org

1, 1, 0, 1, 2, -4, 4, 1, -3, -2, 8, -12, 10, 0, -12, 1, 14, -19, 16, -10, -12, 4, 20, -28, 7, 6, -12, -8, 26, -48, 28, 1, -12, 10, -4, -51, 34, 12, -12, -26, 38, -56, 40, -4, -54, 16, 44, -60, 25, -17, -12, -2, 50, -64, 4, -24, -12, 22, 56, -120, 58, 24, -60, 1, 8, -72, 64, 2, -12, -56, 68, -115, 70, 30, -72, 4, 20
Offset: 1

Views

Author

Antti Karttunen, Dec 13 2024

Keywords

Crossrefs

Even bisection of A033879.
Topmost row of A378979.
Cf. also A344587, A377879.

Programs

Formula

a(n) = A033879(2*n) = 4*n - A062731(n).