Skip to content

2579-count-total-number-of-colored-cells

DevGod
DevGod
Vtuber
/**
* @param {number} n
* @return {number}
*/
var coloredCells = function(n) {
return 2*(n-1)*n+1;
};