object Main extends App {
  import scala.io.StdIn._



  val Array(n, k) = readLine.trim.split(' ').map(_.toInt)
  println(
    solve(n, k)
  )
  def solve(n: Int, k: Int): Int = {
    if (log2(n) + 1 < k) 0
    else {
      val memo = Array.tabulate(n + 1){_ ⇒ Array.tabulate(k){_ ⇒ -1}}
      def sub(max: Int, rest: Int): Int = {
        if (max > n) 0
        else if (rest == 0) 1
        else if (memo(max)(rest) >= 0) memo(max)(rest)
        else{
          memo(max)(rest) = (2 to n / max).map(i ⇒ sub(i * max, rest - 1)).sum
          memo(max)(rest)
        }
      }
      (1 to n).map(sub(_, k - 1)).sum
    }
  }
  def log2(n: Int): Int = {
    if (n == 1) 0
    else log2(n / 2) + 1
  }
  implicit class Scope[T](val value: T) extends AnyVal {
    @inline
    def let[A](func: T ⇒ A): A = func(value)
  }
}
