reviewed
approved
Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
reviewed
approved
proposed
reviewed
editing
proposed
editing
proposed
The number of primes less than n plus the number of nonprimes less than the n-th prime.
Contribution from R. J. Mathar, May 21 2010: (Start)
A167180 := proc(n) A000720(n)+A014689(n) ; end proc: seq(A167180(n), n=1..120) ; (End)# _R. J. Mathar_, May 21 2010
Corrected (89 replaced by with 88, 94 by with 93, 127 by with 126, 146 by with 145 , etc.) by R. J. Mathar, May 21 2010
approved
editing
proposed
approved
editing
proposed
G. C. Greubel, <a href="/A167180/b167180.txt">Table of n, a(n) for n = 1..1000</a>
Table[PrimePi[n] + Prime[n] - n , {n, 1, 20}] (* G. C. Greubel, Jun 04 2016 *)
approved
editing
_Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), _, Oct 29 2009