OFFSET
1,2
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
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