How many positive integers $k$ are there such that \[\dfrac k{2013}(a+b)=lcm(a,b)\] has a solution in positive integers $(a,b)$?
1. Let \( a = gx \) and \( b = gy \), where \( g = \gcd(a, b) \) and \( \gcd(x, y) = 1 \). This means \( a \) and \( b \) are multiples of \( g \) and \( x \) and \( y \) are coprime.
2. Substitute \( a \) and \( b \) into the given equation:
   \[
   \frac{k}{2013} \cdot g(x + y) = \text{lcm}(a, b)
   \]
   Since \( \text{lcm}(a, b) = \frac{ab}{\gcd(a, b)} = \frac{gx \cdot gy}{g} = gxy \), we have:
   \[
   \frac{k}{2013} \cdot g(x + y) = gxy
   \]
3. Simplify the equation by dividing both sides by \( g \):
   \[
   \frac{k}{2013} \cdot (x + y) = xy
   \]
4. Rearrange to solve for \( k \):
   \[
   \frac{k}{2013} = \frac{xy}{x + y}
   \]
   Note that \( \gcd(xy, x + y) = 1 \) because \( x \) and \( y \) are coprime. Therefore, \( \frac{xy}{x + y} \) is in its simplest form.
5. For \( \frac{k}{2013} \) to be an integer, \( x + y \) must be a divisor of 2013. Let \( d = x + y \). Then \( d \mid 2013 \).
6. Each divisor \( d \) of 2013 corresponds to pairs \( (x, y) \) such that \( x + y = d \). The number of such pairs is given by Euler's totient function \( \phi(d) \), but since \( (x, y) \) and \( (y, x) \) are considered the same, we count each pair only once:
   \[
   \frac{\phi(d)}{2}
   \]
7. Sum over all divisors \( d \) of 2013, excluding \( d = 1 \) because \( x + y = 1 \) does not yield positive integers \( x \) and \( y \):
   \[
   \sum_{1 < d \mid 2013} \frac{\phi(d)}{2}
   \]
8. Calculate the total number of values of \( k \):
   \[
   \sum_{d \mid 2013} \frac{\phi(d)}{2} - \frac{\phi(1)}{2}
   \]
   Since \( \phi(1) = 1 \):
   \[
   \sum_{d \mid 2013} \frac{\phi(d)}{2} - \frac{1}{2}
   \]
9. The sum of \( \phi(d) \) over all divisors \( d \) of 2013 is 2013 (a property of Euler's totient function):
   \[
   \sum_{d \mid 2013} \phi(d) = 2013
   \]
   Therefore:
   \[
   \sum_{d \mid 2013} \frac{\phi(d)}{2} = \frac{2013}{2}
   \]
10. Subtract \(\frac{1}{2}\) to exclude the case \( d = 1 \):
    \[
    \frac{2013}{2} - \frac{1}{2} = 1006
    \]

The final answer is \(\boxed{1006}\)