OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MATHEMATICA
Transpose[ Select[ Partition[ Prime@ Range@ 65, 3, 1], #[[2]]!=(#[[1]]+#[[3]])/2&]][[2]]
PROG
(Haskell)
a178943 n = a178943_list !! (n-1)
a178943_list = 2 : h a000040_list where
h (p:qs@(q:r:ps)) = if 2 * q /= (p + r) then q : h qs else h qs
-- Reinhard Zumkeller, May 09 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul Muljadi, Dec 30 2010
STATUS
approved