(n*(n + 1))/2
), there's a formula for summation of squares, (n/6)*(2n + 1)*(n + 1)
, which suggests there's one for cubes, the 4th power, and the nth power as well, solve problem 6, project eulerMemory.hdl
for nand2tetris! Working on the CPU now/nocap-help
to see all of @NoCap-U04RVGUHB6G’s commands