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!)
A166460 n such that n+(-1)^n is not prime. 0
0, 1, 5, 7, 8, 9, 11, 13, 14, 15, 17, 19, 20, 21, 23, 24, 25, 26, 27, 29, 31, 32, 33, 34, 35, 37, 38, 39, 41, 43, 44, 45, 47, 48, 49, 50, 51, 53, 54, 55, 56, 57, 59, 61, 62, 63, 64, 65, 67, 68, 69, 71, 73, 74, 75, 76, 77, 79, 80, 81, 83, 84, 85, 86, 87, 89, 90, 91, 92, 93, 94 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Is this the complement of A068499? [R. J. Mathar, Oct 21 2009]

LINKS

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

EXAMPLE

0+(-1)^0 = 1, not prime, which adds 0 to the sequence. 5+(-1)^5=4, not prime, which adds 5 to the sequence.

CROSSREFS

Cf. A072668, A141468, A060462, A118742.

Sequence in context: A255922 A241028 A171097 * A118742 A122904 A104693

Adjacent sequences:  A166457 A166458 A166459 * A166461 A166462 A166463

KEYWORD

nonn,easy

AUTHOR

Juri-Stepan Gerasimov, Oct 14 2009

EXTENSIONS

0 added by R. J. Mathar, Oct 21 2009

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 May 6 09:45 EDT 2021. Contains 343580 sequences. (Running on oeis4.)