OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 24113 is a term because it is prime, the next 10 primes are 24121, 24133, 24137, 24151, 24169, 24179, 24181, 24197, 24203, 24223, and the gaps between these 11 primes are 8, 12, 4, 14, 18, 10, 2, 16, 6, 20 which are all distinct.
MAPLE
P:= [seq(ithprime(i), i=1..11)]:
R:= NULL: count:= 0:
while count < 100 do
P:= [op(P[2..-1]), nextprime(P[-1])];
if nops(convert(P[2..-1]-P[1..-2], set))=10 then
count:= count+1; R:= R, P[1];
fi
od:
R;
MATHEMATICA
s = {};
Do[If[10 == Length[Union[Differences[Prime[Range[k, k + 10]]]]], AppendTo[s,
Prime[k]]], {k, , 10000}]; s
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov and Robert Israel, May 05 2024
STATUS
approved