A279796 Erroneous duplicate of A285022.
820, 1276, 1422, 1926, 2080, 2640, 3160, 3186, 3250, 4446, 4720, 4930, 5370, 6006
Offset: 1
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.
P[n_] := P[n] = (2 Sum[CoprimeQ[i, j] // Boole, {i, n}, {j, i-1}] + 1)/n^2; Select[Range[2, 200], P[#] < P[#-1]&] (* Jean-François Alcover, Nov 15 2019 *)
P(n) = sum(i=1, n, sum(j=1, n, gcd(i,j)==1))/n^2; isok(n) = P(n) < P(n-1); \\ Michel Marcus, Jan 28 2017
from math import gcd t = 1 to = 1 i = 1 x = 1 while x < 10000: x = x + 1 y = 0 while y < x: y = y + 1 if gcd(x,y) == 1: t = t + 2 e = t*(x-1)*(x-1) - to*x*x if e < 0: print(i,x) i = i + 1 to = t
Comments