OFFSET
1,1
COMMENTS
The numbers x, y and z form a sigma-quadratic triple. See Dimitrov link.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..161
S. I. Dimitrov, Generalizations of amicable numbers, arXiv:2408.07387 [math.NT], 2024.
EXAMPLE
(40, 58, 56) is such a triple because sigma(40)^2 = sigma(58)^2 = 90^2 = 40^2 + 58^2 + 56^2.
PROG
(Python)
from itertools import count, islice
from sympy import divisor_sigma
from sympy.ntheory.primetest import is_square
def A385356_gen(startvalue=1): # generator of terms >= startvalue
for x in count(max(startvalue, 1)):
sx, x2 = int(divisor_sigma(x)), x**2
sx2 = sx**2
if sx2>x2:
for y in count(x):
if (k:=sx2-x2-y**2)<=0:
break
if is_square(k) and sx==divisor_sigma(y):
yield x
break
CROSSREFS
KEYWORD
nonn
AUTHOR
S. I. Dimitrov, Jun 26 2025
EXTENSIONS
Data corrected by David A. Corneth, Jun 27 2025
a(18)-a(34) from Chai Wah Wu, Jul 02 2025
STATUS
approved
