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.

A377879 Deficiency of squares: a(n) = 2n^2 - sigma(n^2).

Original entry on oeis.org

1, 1, 5, 1, 19, -19, 41, 1, 41, -17, 109, -115, 155, -7, 47, 1, 271, -199, 341, -161, 141, 37, 505, -499, 469, 71, 365, -199, 811, -1021, 929, 1, 449, 163, 683, -1159, 1331, 221, 663, -737, 1639, -1659, 1805, -251, 299, 361, 2161, -2035, 2001, -467, 1211, -265, 2755, -1819, 1927, -967, 1545, 631, 3421, -5293, 3659, 737
Offset: 1

Views

Author

Antti Karttunen, Nov 23 2024

Keywords

Comments

It is conjectured that 1's occur only when n is two's power (A000079), and that there are no -1's in this sequence. See comments in A033879 and in A337339.

Crossrefs

Cf. A000290, A000079 (conjectured to give positions of all 1's), A033879, A378231 [= a(A003961(n))].
Cf. also square array A083064.

Programs

Formula

a(n) = A033879(A000290(n)).