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.

A039779 Numbers k such that phi(k) is equal to A008473(k).

Original entry on oeis.org

1, 54, 99, 112, 540, 3344, 4743, 6720, 7644, 8307, 11088, 12852, 15225, 20300, 22320, 83160, 86304, 94944, 129504, 160208, 186992, 200640, 205712, 207264, 266266, 280592, 331731, 364941, 383724, 404550, 441232, 445050, 447876, 449072, 454575, 458052, 497781
Offset: 1

Views

Author

Keywords

Examples

			phi(54) = 18, 54 = 2^1*3^3, (2+1)*(3+3) = 18.
		

Crossrefs

Programs

  • Mathematica
    Reap[For[n = 1, n < 500000, n++, If[EulerPhi[n] == Times @@ Plus @@@ FactorInteger[n], Print[n]; Sow[n]]]][[2, 1]] (* Jean-François Alcover, May 06 2017 *)
  • PARI
    is(k) = {my(f = factor(k)); eulerphi(f) == prod(i = 1, #f~, f[i, 1] + f[i, 2]);} \\ Amiram Eldar, Dec 04 2024