Rational approximation on the nonnegative integers