login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A336367 Numbers k such that gcd(k, prime(k) + prime(k+1)) > 1. 4
2, 3, 4, 6, 8, 10, 12, 14, 15, 16, 18, 20, 22, 24, 26, 27, 28, 30, 32, 33, 34, 35, 36, 38, 40, 42, 44, 45, 46, 48, 50, 52, 54, 55, 56, 57, 58, 60, 62, 63, 64, 65, 66, 68, 69, 70, 72, 74, 75, 76, 78, 80, 81, 82, 84, 86, 87, 88, 90, 92, 93, 94, 96, 98, 100 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Complement of A336366.
LINKS
EXAMPLE
In the following table, p(k) = A000040(k) = prime(k).
k p(k) p(k)+p(k+1) gcd
1 2 5 1
2 3 8 4
3 5 12 3
4 7 18 2
5 11 24 1
6 13 30 6
1 and 5 are in A336366; 2 and 3 are in this sequence; 2 and 11 are in A336368; 3 and 5 are in A336369.
MATHEMATICA
p[n_] := Prime[n];
u = Select[Range[200], GCD[#, p[#] + p[# + 1]] == 1 &] (* A336366 *)
v = Select[Range[200], GCD[#, p[#] + p[# + 1]] > 1 &] (* A336367 *)
Prime[u] (* A336368 *)
Prime[v] (* A336369 *)
CROSSREFS
Sequence in context: A026281 A066994 A081000 * A064377 A175495 A034884
KEYWORD
nonn
AUTHOR
Clark Kimberling, Oct 04 2020
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 09:44 EDT 2024. Contains 371268 sequences. (Running on oeis4.)