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 A098652 #5 Jul 07 2021 08:20:32 %S A098652 9,341,1105,1541,1729,1891,2465,29341,162401,252601,294409,334153, %T A098652 340561,399001,410041,488881,530881,636641,954271,1024651,1152271, %U A098652 1193221,1461241,1615681,1857241 %N A098652 Records in A098650. %t A098652 PrimeFactors[n_] := Flatten[ Table[ # [[1]], {1} ] & /@ FactorInteger[ n ]]; f[n_] := Block[{k = n + 1}, If[EvenQ[k], k++ ]; While[ PrimeQ[k] || Union[ PowerMod[ PrimeFactors[n], k - 1, k]] != {1}, k += 2]; k]; a = {1}; b = {9}; Do[ If[ SquareFreeQ[n], c = f[n]; If[c > b[[ -1]], AppendTo[a, n]; AppendTo[b, c]; Print[n]]], {n, 2, 145000}]; b %Y A098652 Cf. A098650, A098651. %K A098652 nonn,more %O A098652 1,1 %A A098652 _Robert G. Wilson v_, Sep 18 2004 %E A098652 a(13)-a(25) from _Amiram Eldar_, Jul 07 2021