The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A345688 For 1<=x<=n, 1<=y<=n, write gcd(x,y) = u*x+v*y with u,v minimal; a(n) = n^4*s, where s is the population variance of the values of v. 11
0, 3, 38, 128, 550, 1028, 3254, 6128, 12600, 19624, 41432, 60111, 111656, 154860, 224450, 318556, 517074, 662843, 1012238, 1283975, 1683692, 2131307, 3047040, 3663423, 4862454, 5934995, 7524506, 9033407, 11960318, 13803500, 17895182, 21162944, 25284962, 29539043 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The factor n^4 is to ensure that a(n) is an integer.
A345427(n) = n^2*mu where mu is the mean of the values of v.
The population standard deviation sqrt(s) appears to grow linearly with n.
LINKS
PROG
(Python)
from statistics import pvariance
from sympy.core.numbers import igcdex
def A345688(n): return pvariance(n**2*v for u, v, w in (igcdex(x, y) for x in range(1, n+1) for y in range(1, n+1)))
CROSSREFS
Sequence in context: A241895 A093939 A129122 * A002405 A050394 A281798
KEYWORD
nonn
AUTHOR
Chai Wah Wu, Jun 24 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 1 12:19 EDT 2024. Contains 373023 sequences. (Running on oeis4.)