#include <bits/stdc++.h>
using namespace std;
int main() {
  long k, n, w;
  cin >> k >> n >> w;
  long cost = k * w * (w + 1) / 2;
  if (n >= cost)
    cout << 0;
  else
    cout << (cost - n);
  return 0;
}
