cp's OEIS Frontend

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.

A330468 Numbers k where the difference (least prime > 10^k) - (greatest prime < 10^k) sets a record.

This page as a plain text file.
%I A330468 #19 Mar 15 2020 13:36:07
%S A330468 1,3,4,9,16,21,24,28,34,66,82,92,117,122,135,218,232,314,387,443,478,
%T A330468 617,652,787,1031,1157,1440,1625,1872,1920,2038,2424,2692,3235,3331,
%U A330468 3798,4944,5202,5241,5938,7572,7847
%N A330468 Numbers k where the difference (least prime > 10^k) - (greatest prime < 10^k) sets a record.
%e A330468 a(1) = 1: 11 - 7 = 4;
%e A330468 a(2) = 3: 1009 - 997 = 12, whereas 101 - 97 = 4 <= a(1).
%o A330468 (PARI) d=0;for(k=1,500,my(t=10^k,dd=nextprime(t)-precprime(t));if(dd>d,print1(k,", ");d=dd))
%Y A330468 Cf. A003617, A003618, A038804, A331834.
%K A330468 nonn,more
%O A330468 1,2
%A A330468 _Hugo Pfoertner_, Mar 01 2020
%E A330468 More terms from _Jinyuan Wang_, Mar 01 2020
%E A330468 a(37)-a(42) from _Giovanni Resta_, Mar 15 2020