function main(input) {
    const args = input.split(' ');
    const n = parseInt(args[0], 10),
          k = parseInt(args[1], 10);

    var count = 0;

    for (var a = 1; a <= n; a++) {
        for (var b = 1; b <= n; b++) {
            for (var c = 1; c <= n; c++) {
             	let promises;
              	promises.push(P_baisu(a+b, n, ))
            }
        }
    }
    console.log(count);
}

function P_baisu(ins, n, taisyo){
	retrun function(ins, n, taisyo){
		for(i = 1; i*ins < n; 1++){
			if(i*ins === taisyo){
				resolve(true);
            }
        }
      	reject(false);
    }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));