OFFSET
1,3
COMMENTS
The factor m^2 is to ensure that a(n) is an integer.
A345431(n) = m*mu where mu is the mean of the values of u^2+v^2.
s^(1/4) appears to grow linearly with n.
PROG
(Python)
from statistics import pvariance
from sympy.core.numbers import igcdex
def A345696(n):
zlist = [z for z in (igcdex(x, y) for x in range(1, n+1) for y in range(1, n+1)) if z[2] == 1]
return pvariance(len(zlist)*(u**2+v**2) for u, v, w in zlist)
CROSSREFS
KEYWORD
nonn
AUTHOR
Chai Wah Wu, Jun 24 2021
STATUS
approved