|
| |
|
|
A014692
|
|
a(n) = n-th prime - (n-1).
|
|
5
| |
|
|
2, 2, 3, 4, 7, 8, 11, 12, 15, 20, 21, 26, 29, 30, 33, 38, 43, 44, 49, 52, 53, 58, 61, 66, 73, 76, 77, 80, 81, 84, 97, 100, 105, 106, 115, 116, 121, 126, 129, 134, 139, 140, 149, 150, 153, 154, 165, 176, 179, 180, 183, 188, 189, 198, 203, 208, 213, 214, 219, 222, 223
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| Also, number of primes between p(n) and p(p(n)) inclusive, where p(k) is the k-th prime. - Zak Seidov (zakseidov(AT)yahoo.com), Sep 22 2003
Since a(n+1)-a(n)=p(n+1)-p(n)-1>=1 the sequence is monotonic.
n-th prime minus n-th nonnegative integer. [From Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Feb 09 2010]
|
|
|
FORMULA
| a(n)=A000040(n)-A001477(n). [From Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Feb 09 2010]
|
|
|
EXAMPLE
| p(1) = 2, p(p(1)) = p(2) = 3 and there are two primes between 2 and 3 inclusive.
|
|
|
CROSSREFS
| Equals A014689 + 1.
Sequence in context: A088633 A114952 A086969 * A058670 A091605 A145468
Adjacent sequences: A014689 A014690 A014691 * A014693 A014694 A014695
|
|
|
KEYWORD
| easy,nonn
|
|
|
AUTHOR
| Mohammad K. Azarian (ma3(AT)evansville.edu)
|
|
|
EXTENSIONS
| More terms from Andrew J. Gacek (andrew(AT)dgi.net)
Edited by N. J. A. Sloane (njas(AT)research.att.com), Mar 07 2007
|
| |
|
|