The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A269399 Numbers n for which prime(n+7)-prime(n+6) is a multiple of three. 6
 3, 5, 9, 10, 12, 15, 17, 26, 30, 31, 33, 34, 40, 41, 45, 48, 49, 50, 52, 61, 65, 67, 68, 70, 78, 80, 85, 90, 91, 93, 94, 96, 97, 99, 101, 102, 104, 105, 108, 112, 113, 115, 117, 123, 124, 127, 133, 154, 155, 158, 159, 161, 162, 164, 168, 173, 174, 178, 179, 181, 182, 188, 189, 191, 193, 194, 196, 197, 199, 202, 204, 208, 210 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Antti Karttunen, Table of n, a(n) for n = 1..10000 FORMULA a(n) = A270190(n) - 6. EXAMPLE 3 is present as the difference between A000040(3+7) = 29 and A000040(3+6) = 23 is 6, a multiple of three. MATHEMATICA Select[Range@ 210, Divisible[Prime[# + 7] - Prime[# + 6], 3] &] (* Michael De Vlieger, Mar 18 2016 *) PROG (Scheme, with Antti Karttunen's IntSeq-library) (define A269399 (MATCHING-POS 1 1 (lambda (n) (= 0 (A137264 (+ 6 n)))))) (PARI) isok(n) = ((prime(n+7) - prime(n+6)) % 3) == 0; \\ Michel Marcus, Mar 18 2016 CROSSREFS Complement: A269389. Cf. A137264, A270190. Cf. also A270199. Sequence in context: A316520 A153710 A230385 * A175468 A286065 A316296 Adjacent sequences:  A269396 A269397 A269398 * A269400 A269401 A269402 KEYWORD nonn AUTHOR Antti Karttunen, Mar 16 2016 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified June 1 02:09 EDT 2020. Contains 334758 sequences. (Running on oeis4.)