#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <cstdio>
#include <math.h>
#include <string>
#include <algorithm>
using namespace std;
int k, n, w, ans;
int tot;
int main() {
scanf("%d %d %d", &k, &n, &w);
for (int i = 1;i <= w;++i) {
tot += (i*k);
}
if (tot <= n) {
printf("0\n");
}
else {
printf("%d\n", tot - n);
}
return 0;
}