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 A376755 #32 Oct 08 2024 09:33:10 %S A376755 1,2,3,0,5,6,7,7,0,10,11,12,13,0,24,16,17,18,0,0,21,36,23,0,25,26,27, %T A376755 26,0,30,0,32,33,0,35,60,37,38,0,40,72,0,72,0,45,46,47,0,0,84,51,52,0, %U A376755 0,55,56,49,58,0,57,61,62,63,0,0,66,120,68,0,70,120,72 %N A376755 a(n) = A376202(6*n+1)/6. %H A376755 Chai Wah Wu, <a href="/A376755/b376755.txt">Table of n, a(n) for n = 1..3470</a> %o A376755 (Python) %o A376755 from math import gcd %o A376755 def A376755(n): %o A376755 c, m = 0, 6*n|1 %o A376755 for x in range(1,m): %o A376755 if gcd(x,m) == 1: %o A376755 for y in range(x,m): %o A376755 if gcd(y,m)==gcd(z:=x+y,m)==1 and not (w:=z**2-x*y)//gcd(w,x*y*z)%m: %o A376755 c += 1 %o A376755 return c//6 # _Chai Wah Wu_, Oct 06 2024 %Y A376755 Cf. A000086, A046530, A087786, A290731, A376202, A376203, A376756, A376757. %K A376755 nonn %O A376755 1,2 %A A376755 _Tom Duff_ and _N. J. A. Sloane_, Oct 06 2024 %E A376755 a(51)-a(72) from _Chai Wah Wu_, Oct 06 2024