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.

A247129 Semiprimes n such that phi(n) is a square.

Original entry on oeis.org

10, 34, 57, 74, 85, 185, 202, 219, 394, 451, 489, 505, 514, 629, 679, 802, 985, 1057, 1154, 1285, 1354, 1387, 1417, 1717, 2005, 2047, 2509, 2594, 2649, 2761, 2885, 3097, 3202, 3277, 3349, 3385, 3409, 3459, 3737, 4207, 4369, 4377, 4577
Offset: 1

Views

Author

Keywords

Comments

Freiberg & Pomerance show that this sequence is infinite and a(n) << n^2 log^2 n.

Crossrefs

Programs

  • PARI
    is(n)=issquare(eulerphi(n))&&bigomega(n)==2
    
  • PARI
    list(lim)=my(v=List()); forprime(p=2,sqrtint(lim\1), forprime(q=p+1, lim\p, if(issquare((p-1)*(q-1)), listput(v,p*q)))); Set(v)