triangle sum of odds numbers formula
function rowSumOddNumbers(n) {
return Math.pow(n,3)
}
console.log(rowSumOddNumbers(1))
console.log(rowSumOddNumbers(2))
console.log(rowSumOddNumbers(3))
console.log(rowSumOddNumbers(4))
console.log(rowSumOddNumbers(5))
console.log(rowSumOddNumbers(42))