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
81569 = prime(7980) is a term because:
prime(7981) = 81611, prime(7973) = 81527;
2*prime(7980) - prime(7981) = prime(7973).
MATHEMATICA
With[{m = 7}, Prime@ Select[Range[m + 1, 10^5], 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 12 2013
STATUS
approved