OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
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++ ]; k]; Table[f[n], {n, 56}] (* Ray Chandler, Jan 09 2007 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Dec 21 2006
EXTENSIONS
Edited and extended by Ray Chandler, Jan 09 2007
STATUS
approved