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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A210940 The prime numbers and their nonprime nearest-neighbors. 2
1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 22, 23, 24, 28, 29, 30, 31, 32, 36, 37, 38, 40, 41, 42, 43, 44, 46, 47, 48, 52, 53, 54, 58, 59, 60, 61, 62, 66, 67, 68, 70, 71, 72, 73, 74, 78, 79, 80, 82, 83, 84, 88, 89, 90, 96, 97, 98, 100 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

The prime numbers and their nearest-neighbors without repetitions.

LINKS

Table of n, a(n) for n=1..66.

MATHEMATICA

{#-1, #, #+1}&/@Prime[Range[30]]//Flatten//Union (* Harvey P. Dale, Jul 06 2019 *)

CROSSREFS

Union of A210939 and A000040. Complement of A079364.

Cf. A018252, A045718, A134928, A134930.

Sequence in context: A246786 A095949 A106092 * A257500 A121208 A331914

Adjacent sequences:  A210937 A210938 A210939 * A210941 A210942 A210943

KEYWORD

nonn

AUTHOR

Omar E. Pol, Apr 17 2012

EXTENSIONS

Corrected (74 added) by Harvey P. Dale, Jul 06 2019

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 7 17:44 EDT 2020. Contains 336278 sequences. (Running on oeis4.)