This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A345433 #12 Jun 25 2021 00:31:32 %S A345433 1,3,7,12,22,30,49,66,91,114,160,189,253,300,355,420,529,597,733,819, %T A345433 931,1053,1252,1365,1564,1737,1945,2121,2437,2604,2965,3222,3511,3813, %U A345433 4147,4398,4912,5292,5701,6039,6670,7011,7705,8160,8638,9201,10030,10479,11272,11856,12568,13212,14266 %N A345433 For 1<=x<=n, 1<=y<=n, write gcd(x,y) = u*x+v*y with u,v minimal; a(n) = sum of the values of |v|. %C A345433 Minimal means minimize u^2+v^2. We follow Maple, PARI, etc., in setting u=0 and v=1 when x=y. %o A345433 (Python) %o A345433 from sympy.core.numbers import igcdex %o A345433 def A345433(n): return sum(abs(v) for u, v, w in (igcdex(x,y) for x in range(1,n+1) for y in range(1,n+1))) # _Chai Wah Wu_, Jun 22 2021 %Y A345433 Cf. A345415-A345434. %K A345433 nonn %O A345433 1,2 %A A345433 _N. J. A. Sloane_, Jun 22 2021