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.

A361987 a(1) = 1; a(n) = n^2 * Sum_{d|n, d < n} (-1)^(n/d) a(d) / d^2.

Original entry on oeis.org

1, 4, -9, 32, -25, -36, -49, 256, 0, -100, -121, -288, -169, -196, 225, 2048, -289, 0, -361, -800, 441, -484, -529, -2304, 0, -676, 0, -1568, -841, 900, -961, 16384, 1089, -1156, 1225, 0, -1369, -1444, 1521, -6400, -1681, 1764, -1849, -3872, 0, -2116, -2209, -18432, 0, 0, 2601, -5408, -2809, 0
Offset: 1

Views

Author

Seiichi Manyama, Apr 02 2023

Keywords

Crossrefs

Partial sums give A361983.

Programs

  • Mathematica
    f[p_, e_] := If[e == 1, -p^2, 0]; f[2, e_] := 2^(3*e - 1); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, May 09 2023 *)

Formula

a(n) is multiplicative with a(2^e) = 2^(3*e-1). a(p) = -p^2, a(p^e) = 0 if e>1, p>2.
G.f. A(x) satisfies -x = Sum_{k>=1} (-1)^k * k^2 * A(x^k).