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.

A049197 Squarefree numbers whose Euler totient function is not squarefree.

Original entry on oeis.org

5, 10, 13, 15, 17, 19, 21, 26, 29, 30, 33, 34, 35, 37, 38, 39, 41, 42, 51, 53, 55, 57, 58, 61, 65, 66, 69, 70, 73, 74, 77, 78, 82, 85, 87, 89, 91, 93, 95, 97, 101, 102, 105, 106, 109, 110, 111, 113, 114, 115, 119, 122, 123, 127, 129, 130, 133, 137, 138, 141, 143
Offset: 1

Views

Author

Keywords

Comments

Numbers k such that abs(mu(k)) = 1 and mu(phi(k)) = 0.

Examples

			110 = 2*5*11 is squarefree but phi(110) = 40 is divisible by a square, so 110 is in the sequence.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[144], SquareFreeQ[#] && !SquareFreeQ[EulerPhi[#]] &] (* Amiram Eldar, Feb 12 2021 *)
  • PARI
    isok(k) = issquarefree(k) && !issquarefree(eulerphi(k)); \\ Michel Marcus, Feb 12 2021