Time for some holiday fun! How many squares are there on a chessboard? Groups of 2 x 2 squares and so on also count as squares. Remix this project with a script that calculates the answer correctly, and sets the variable "# of squares" to the answer. ℹ️ Note that most important thing is to CALCULATE it correctly. In other words, a project simply setting "# of squares" to the correct answer is disqualified. Bonus Challenges: ◾ Try to use as few blocks as possible ◾ Try to make the script as readable as possible ◾ Try to solve it in multiple ways Good luck!
I could also use a custom block called calculate (n) define calculate (n) set # of squares to (n)(n+1)(2n+1)/6 and that would take 13 blocks