OFFSET
1,2
COMMENTS
Amroune et al. (2023) characterize solutions to this equation and prove that Dickson's conjecture implies that this sequence is infinite.
They show that the only squarefree semiprime terms are 57, 514 and some of the numbers of the form 2*(4*p^2+1), where p and 4*p^2+1 are both primes (a subsequence of A259021).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Zahra Amroune, Djamel Bellaouar and Abdelmadjid Boudaoud, A class of solutions of the equation d(n^2) = d(phi(n)), Notes on Number Theory and Discrete Mathematics, Vol. 29, No. 2 (2023), pp. 284-309.
Wikipedia, Dickson's conjecture.
EXAMPLE
5 is a term since both 5^2 = 25 and phi(5) = 4 have 3 divisors.
MATHEMATICA
Select[Range[15000], DivisorSigma[0, #^2] == DivisorSigma[0, EulerPhi[#]] &]
PROG
(PARI) is(n) = numdiv(n^2) == numdiv(eulerphi(n));
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, May 16 2023
STATUS
approved