Definition:Prime-Counting Function/Examples

Definition
The values of the prime-counting ($\pi$) function for the first few integers are as follows:


 * {| border="1"

! align="right" style = "padding: 2px 10px" | $n$ ! align="right" style = "padding: 2px 10px" | $\pi \left({n}\right)$
 * align="right" style = "padding: 2px 10px" | $1$
 * align="right" style = "padding: 2px 10px" | $0$
 * align="right" style = "padding: 2px 10px" | $2$
 * align="right" style = "padding: 2px 10px" | $1$
 * align="right" style = "padding: 2px 10px" | $3$
 * align="right" style = "padding: 2px 10px" | $2$
 * align="right" style = "padding: 2px 10px" | $4$
 * align="right" style = "padding: 2px 10px" | $2$
 * align="right" style = "padding: 2px 10px" | $5$
 * align="right" style = "padding: 2px 10px" | $3$
 * align="right" style = "padding: 2px 10px" | $6$
 * align="right" style = "padding: 2px 10px" | $3$
 * align="right" style = "padding: 2px 10px" | $7$
 * align="right" style = "padding: 2px 10px" | $4$
 * align="right" style = "padding: 2px 10px" | $8$
 * align="right" style = "padding: 2px 10px" | $4$
 * }
 * align="right" style = "padding: 2px 10px" | $3$
 * align="right" style = "padding: 2px 10px" | $7$
 * align="right" style = "padding: 2px 10px" | $4$
 * align="right" style = "padding: 2px 10px" | $8$
 * align="right" style = "padding: 2px 10px" | $4$
 * }
 * align="right" style = "padding: 2px 10px" | $4$
 * }