ShareMyScreen/ProjectEuler/0006

From J Wiki
Jump to navigation Jump to search

Find the difference between the sum of the squares of the first one hundred natural numbers and the square of the sum.

NB. square of their sums (as a capped fork)
NB. │        difference of
NB. │        │  sum of their squares (as a capped fork)
NB. │        │  │          1 through 100
   ([: *: +/ - ([: +/ *:)) >:i.1e2