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.

A262406 Squarefree k such that phi(k) is a perfect square.

Original entry on oeis.org

1, 2, 5, 10, 17, 34, 37, 57, 74, 85, 101, 114, 170, 185, 197, 202, 219, 257, 273, 285, 370, 394, 401, 438, 451, 489, 505, 514, 546, 570, 577, 629, 677, 679, 802, 902, 969, 978, 985, 1010, 1057, 1095, 1154, 1258, 1285, 1297, 1354, 1358, 1365
Offset: 1

Views

Author

Keywords

Comments

The subsequence of primes is A002496 (primes of the form k^2+1). - Michel Marcus, Oct 14 2015

Crossrefs

Intersection of A039770 and A005117.

Programs

  • Magma
    [n: n in [1..1400] | IsSquarefree(n) and IsSquare(EulerPhi(n))]; // Vincenzo Librandi, May 05 2016
  • Mathematica
    Select[Range[1500], SquareFreeQ[#] && IntegerQ @ Sqrt @ EulerPhi[#] &] (* Amiram Eldar, Jul 16 2022 *)
  • PARI
    is(n)=my(f=factor(n)); issquare(eulerphi(f)) && (n==1 || vecmax(f[,2])==1)
    

Formula

Banks, Friedlander, Pomerance, and Shparlinski show that a(n) = O(n^1.421).