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

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A171576 a(n) = abs(n-th noncomposite number minus n-th even nonprime number). 0
1, 2, 3, 3, 3, 1, 1, 1, 1, 3, 7, 7, 11, 13, 13, 15, 19, 23, 23, 27, 29, 29, 33, 35, 39, 45, 47, 47, 49, 49, 51, 63, 65, 69, 69, 77, 77, 81, 85, 87, 91, 95, 95, 103, 103, 105, 105, 115, 125, 127, 127, 129, 133, 133, 141, 145, 149, 153, 153, 157, 159, 159, 167, 179, 181 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

FORMULA

a(n) = abs(A008578(n) - A163300(n)).

EXAMPLE

a(1) = abs(1-0) = 1, a(2) = abs(2-4) = 2, a(3) = abs(3-6) = 3.

CROSSREFS

Cf. A008578 (noncomposite), A163300 (even nonprime).

Sequence in context: A153878 A118925 A308100 * A016738 A061911 A328397

Adjacent sequences:  A171573 A171574 A171575 * A171577 A171578 A171579

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov, Dec 12 2009

EXTENSIONS

Corrected (a 67 replaced by another 69) by R. J. Mathar, May 22 2010

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 January 20 08:18 EST 2020. Contains 331081 sequences. (Running on oeis4.)