OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
Terence Tao, Biases between consecutive primes, blog entry March 14, 2016
FORMULA
Other identities. For all n >= 1:
A269849(a(n)) = n.
MATHEMATICA
Select[Range@ 125, Mod[Prime[# + 1] - Prime@ #, 3] != 0 &] (* Michael De Vlieger, Mar 17 2016 *)
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
(PARI) isok(n) = ((prime(n+1) - prime(n)) % 3) != 0; \\ Michel Marcus, Mar 17 2016
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 16 2016
STATUS
approved