A270189 Numbers n for which (prime(n+1)-prime(n)) is not a multiple of three.
1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 13, 14, 17, 19, 20, 22, 24, 25, 26, 27, 28, 29, 30, 31, 33, 34, 35, 38, 41, 42, 43, 44, 45, 48, 49, 50, 52, 53, 57, 59, 60, 61, 62, 63, 64, 65, 66, 68, 69, 70, 72, 75, 77, 78, 79, 80, 81, 82, 83, 85, 87, 88, 89, 90, 92, 93, 94, 95, 98, 101, 104, 106, 109, 112, 113, 115, 116, 117, 120, 122, 124, 125
Offset: 1
Keywords
Links
- Antti Karttunen, Table of n, a(n) for n = 1..10000
- Terence Tao, Biases between consecutive primes, blog entry March 14, 2016
Crossrefs
Programs
-
Mathematica
Select[Range@ 125, Mod[Prime[# + 1] - Prime@ #, 3] != 0 &] (* Michael De Vlieger, Mar 17 2016 *)
-
PARI
isok(n) = ((prime(n+1) - prime(n)) % 3) != 0; \\ Michel Marcus, Mar 17 2016
Formula
Other identities. For all n >= 1:
A269849(a(n)) = n.
Comments