OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
The commutator [sigma, tau] is zero and a(n) is the square root of special prime solutions. These solutions are twin primes. Both twins are displayed.
MATHEMATICA
ta={{0}}; tb={{0}}; Do[s=DivisorSigma[1, DivisorSigma[0, n]]; s1=DivisorSigma[0, DivisorSigma[1, n]]; If[Equal[s-s1, 0]&&IntegerQ[Sqrt[n]&&PrimeQ[Sqrt[n]]], Print[n]; ta=Append[ta, n]; tb=Append[tb, Sqrt[n]]], {n, 1, 100000000}] ta=Delete[ta, 1]; tb=Delete[tb, 1]; ni=Intersection[tb, 2+tb]; Union[ni, ni-2]
PROG
(PARI) isok(n) = issquare(n) && (sigma(numdiv(n)) == numdiv(sigma(n))); \\ A115557
lista(nn) = {forprime(p=2, nn, if (isprime(p+2) && isok(p^2) && isok((p+2)^2), print1(p, ", ", p+2, ", ")); ); } \\ Michel Marcus, Jul 17 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jan 25 2006
EXTENSIONS
More terms from Amiram Eldar, Jul 17 2019
STATUS
approved