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.

A378506 The number of solutions to the equation phi(phi(x)) = n, where phi is the Euler totient function.

Original entry on oeis.org

5, 8, 0, 13, 0, 4, 0, 23, 0, 2, 0, 14, 0, 0, 0, 36, 0, 2, 0, 5, 0, 2, 0, 32, 0, 0, 0, 2, 0, 0, 0, 54, 0, 0, 0, 11, 0, 0, 0, 23, 0, 0, 0, 5, 0, 0, 0, 66, 0, 0, 0, 2, 0, 4, 0, 3, 0, 0, 0, 2, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 41, 0, 2, 0, 6
Offset: 1

Views

Author

Amiram Eldar, Nov 29 2024

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := Sum[PhiMultiplicity[i], {i, PhiInverse[n]}]; Array[a, 100] (* using David M. Bressoud's CNT.m *)
  • PARI
    a(n) = vecsum(apply(x -> invphiNum(x), invphi(n))); \\ using Max Alekseyev's invphi.gp

Formula

a(n) > 0 if and only if n is in A378508.