APL Hacking: Project Euler Daily (#6)
R←PESIX;⎕IO ⎕IO←1⍝ Difference between the sum of the squares of the first
⍝ 100 natural numbers and the square of the sum of the same.R←((+/⍳100)*2)-+/(⍳100)*2
R←PESIX;⎕IO ⎕IO←1⍝ Difference between the sum of the squares of the first
⍝ 100 natural numbers and the square of the sum of the same.R←((+/⍳100)*2)-+/(⍳100)*2