Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A161671
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A161671 a(n) = nth prime minus nth nonprime. +0
4
2, 2, 1, 1, 3, 4, 7, 7, 9, 14, 15, 19, 21, 22, 25, 29, 34, 35, 40, 43, 43, 47, 50, 55, 62, 65, 65, 68, 69, 71, 83, 86, 91, 91, 100, 101, 106, 111, 113, 118, 123, 124, 133, 133, 135, 136, 147, 158, 161, 161, 164, 169, 169, 177, 182, 187, 192, 193, 197, 200, 201, 209 (list; graph; listen)
OFFSET

1,1

FORMULA

a(n)=A000040(n)-A141468(n)

EXAMPLE

2(=2-0), 2(=3-1), 1(=5-4), 1(=7-6), 3(=11-8), 4(=13-9), 7(=17-10), 7(=19-12), 9(=23-14), 14(=29-15), etc.

CROSSREFS

nth nonprime = A141468(n).

Cf. A000040, A141468.

Sequence in context: A115594 A086623 A034928 this_sequence A144444 A054106 A132044

Adjacent sequences: A161668 A161669 A161670 this_sequence A161672 A161673 A161674

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Jun 16 2009

EXTENSIONS

Edited by N. J. A. Sloane, Jun 30 2009

Replaced 207 by 209 - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 04 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research