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.

A342400 a(n) is the number of distinct sums of distinct unitary divisors of n.

Original entry on oeis.org

1, 3, 3, 3, 3, 12, 3, 3, 3, 15, 3, 13, 3, 15, 15, 3, 3, 15, 3, 13, 15, 15, 3, 15, 3, 15, 3, 15, 3, 72, 3, 3, 15, 15, 15, 15, 3, 15, 15, 15, 3, 96, 3, 15, 15, 15, 3, 15, 3, 15, 15, 15, 3, 15, 15, 13, 15, 15, 3, 108, 3, 15, 15, 3, 15, 144, 3, 15, 15, 142, 3, 13
Offset: 1

Views

Author

Amiram Eldar, Mar 10 2021

Keywords

Crossrefs

The unitary version of A119347.

Programs

  • Mathematica
    a[n_] := Module[{d = Select[Divisors[n], CoprimeQ[#, n/#] &], x, s, m, c}, m = Length[d]; s = Plus @@ d; c = Rest@CoefficientList[Series[Product[1 + x^d[[i]], {i, 1, m}], {x, 0, s}], x]; Count[c, _?(# > 0 &)]]; Array[a, 100]

Formula

a(n) <= A034448(n) with equality if and only if n is a unitary practical number (A286652).
a(p^e) = 3 for a prime p and e >= 1.