For 1<=x<=n, 1<=y<=n with gcd(x,y)=1, write 1 = gcd(x,y) = u*x+v*y with u,v minimal; a(n) = m^2*s, where s is the population variance of the values of u and m is the number of such values.

A345692

For 1<=x<=n, 1<=y<=n with gcd(x,y)=1, write 1 = gcd(x,y) = u*x+v*y with u,v minimal; a(n) = m^2*s, where s is the population variance of the values of u and m is the number of such values.

Terms

    a(0) =0a(1) =2a(2) =24a(3) =68a(4) =364a(5) =504a(6) =2040a(7) =3606a(8) =7664a(9) =10422a(10) =25764a(11) =34226a(12) =70836a(13) =89994a(14) =128532a(15) =177276a(16) =316844a(17) =375952a(18) =623024a(19) =757604a(20) =986742a(21) =1188760a(22) =1828860a(23) =2093672a(24) =2885342a(25) =3379568a(26) =4347890a(27) =5089220a(28) =7134860a(29) =7835684

External references