OFFSET
1,1
COMMENTS
If prime(i) has level 1 in A117563 and 2*prime(i) - prime(i+1) = prime(i-k), then we say that prime(i) has level (1,k).
LINKS
Fabien Sibenaler, Table of n, a(n) for n = 1..10000
EXAMPLE
a(2) = 7963 = prime(1006) because 2*prime(1006) - prime(1007) = 2*7963 - 7993 = 7933 = prime(1002).
MATHEMATICA
With[{m = 4}, Prime@ Select[Range[m + 1, 10^4], If[MemberQ[{1, 2, 4}, #], 0, 2 Prime[#] - Prime[# + 1]] == Prime[# - m] &]] (* Michael De Vlieger, Jul 16 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Fabien Sibenaler, Mar 10 2013
STATUS
approved