Trójkąt suma liczb liczb szans
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))
Wide-eyed Wolf