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 A120384 #20 Dec 26 2024 10:40:43 %S A120384 3,5,7,23,53,89,113,211,1259,1327,1847,2179,2503,5623,14107,19661, %T A120384 24281,38501,58831,268343,396833,1272749,2198981,3863107,4411963, %U A120384 4958131,5102953,7950001,8917523,10938023,12623189,22440841,24662467,32616223 %N A120384 Isolated primes: geometric mean of distances of a prime to neighboring primes sets record. %C A120384 A096265 is based on arithmetic mean or total distance to neighbors. But it doesn't say if it is isolated from them or close to one of them. %H A120384 Ken Takusagawa, <a href="/A120384/b120384.txt">Table of n, a(n) for n = 1..54</a> %e A120384 a(4) = 23 because the distance (geometric mean) to its neighbors (19 and 29) equals = sqrt(4*6) = 4.8989. No smaller prime is more isolated. The next more isolated prime a(5) is 53. %o A120384 (PARI) lista(nn) = {d = 0; p = 1; q = 2; r = 3; for (i=1, nn, p = q; q = r; r = nextprime(r+1); if ((nd = (q-p)*(r-q)) > d, print1(q, ", "); d = nd;););} \\ _Michel Marcus_, Jun 12 2013 %Y A120384 Cf. A096265. %K A120384 nonn %O A120384 1,1 %A A120384 _Alexis Monnerot-Dumaine_, Jun 29 2006 %E A120384 Offset corrected and a(22)-a(34) added by _Donovan Johnson_, May 23 2010