6

DevGod
Vtuber
const N = 100;//A000330let part1 = N*(N+1)*(2*N+1)/6let part2 = ( (N+1)*Math.floor(N/2) ) ** 2let score = part2-part1;
console.log(score);
const N = 100;//A000330let part1 = N*(N+1)*(2*N+1)/6let part2 = ( (N+1)*Math.floor(N/2) ) ** 2let score = part2-part1;
console.log(score);