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.

A308664 Numbers k such that tau(k) and phi(k) are the legs of a Pythagorean triple.

Original entry on oeis.org

20, 36, 60, 100, 300
Offset: 1

Views

Author

Antonio Roldán, Jul 14 2019

Keywords

Comments

The sequence is finite since for all large enough n, we have tau(n) < n^(1/4) and phi(n) > n^(3/4) while, if x < y are the legs of a Pythagorean triangle, we always have y < x^2/2. - Giovanni Resta, Jul 27 2019
From Resta's inequality it can be deduced that phi(n) <= 2304. Then it's easy to see that the sequence is full. - Max Alekseyev, May 30 2024

Examples

			60 is in this sequence because tau(60) = 12 and phi(60) = 16, legs of the Pythagorean triple {12, 16, 20} (12^2 + 16^2 = 20^2).
		

Crossrefs

Programs

  • Mathematica
    Select[Range[300], IntegerQ@Sqrt[DivisorSigma[0, #]^2 + EulerPhi[#]^2] &] (* Amiram Eldar, Jul 26 2019 *)
  • PARI
    for(i = 1,  2000, a = eulerphi(i); b = numdiv(i); if(issquare(a^2 + b^2), print1(i,", ")))

Extensions

"full" keyword added by Max Alekseyev, May 30 2024