OFFSET
1,3
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
PROG
(Python)
def A376756(n):
c = 0
for x in range(n):
z = x**2%n
for y in range(x, n):
if not (z+y*(x+y))%n:
c += 1
return c # Chai Wah Wu, Oct 06 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Tom Duff and N. J. A. Sloane, Oct 06 2024
STATUS
approved