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 v and m is the number of such values.

A345693

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 v and m is the number of such values.

Terms

    a(0) =0a(1) =2a(2) =26a(3) =72a(4) =374a(5) =516a(6) =2064a(7) =3634a(8) =7706a(9) =10472a(10) =25832a(11) =34298a(12) =70946a(13) =90106a(14) =128664a(15) =177428a(16) =317024a(17) =376150a(18) =623276a(19) =757856a(20) =987038a(21) =1189074a(22) =1829210a(23) =2094022a(24) =2885790a(25) =3380040a(26) =4348400a(27) =5089782a(28) =7135460a(29) =7836276

External references