OFFSET
1,1
LINKS
FORMULA
a(n) = A098726(n) - 2. - Filip Zaludek, Dec 16 2016
MATHEMATICA
Table[Boole[2 Prime[n + 1] != Prime@ n + Prime[n + 2]], {n, 120}] (* Michael De Vlieger, Dec 17 2016 *)
PROG
(PARI) A131695(n) = ((2*prime(1+n)) != (prime(n)+prime(2+n))); \\ Antti Karttunen, Aug 30 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Sep 15 2007
EXTENSIONS
Definition and values corrected, keyword:cons removed; R. J. Mathar, Apr 22 2010
STATUS
approved