login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A330468 Numbers k where the difference (least prime > 10^k) - (greatest prime < 10^k) sets a record. 0
1, 3, 4, 9, 16, 21, 24, 28, 34, 66, 82, 92, 117, 122, 135, 218, 232, 314, 387, 443, 478, 617, 652, 787, 1031, 1157, 1440, 1625, 1872, 1920, 2038, 2424, 2692, 3235, 3331, 3798, 4944, 5202, 5241, 5938, 7572, 7847 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(1) = 1: 11 - 7 = 4;
a(2) = 3: 1009 - 997 = 12, whereas 101 - 97 = 4 <= a(1).
PROG
(PARI) d=0; for(k=1, 500, my(t=10^k, dd=nextprime(t)-precprime(t)); if(dd>d, print1(k, ", "); d=dd))
CROSSREFS
Sequence in context: A165921 A030136 A320797 * A336450 A367083 A271785
KEYWORD
nonn,more
AUTHOR
Hugo Pfoertner, Mar 01 2020
EXTENSIONS
More terms from Jinyuan Wang, Mar 01 2020
a(37)-a(42) from Giovanni Resta, Mar 15 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 02:58 EDT 2024. Contains 370952 sequences. (Running on oeis4.)