OFFSET
1,1
MATHEMATICA
f[n_] := Block[{k = 1, c}, While[c = (Prime[k + 1] + Prime[k])/2; Mod[c, 2] == 0 || Mod[c, Prime[n + 1]] > 0, k++ ]; c]; Table[f[n], {n, 50}] (* Ray Chandler, Jan 09 2007 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Dec 21 2006
EXTENSIONS
Extended by Ray Chandler, Jan 09 2007
STATUS
approved