Find square difference: Difference between revisions

Content added Content deleted
(→‎{{header|Quackery}}: second method)
Line 494: Line 494:
==={{header|Using algebra}}===
==={{header|Using algebra}}===


Noting that a²-b² ≡ (a+b)(a-b), and that in this instance b = a+1.
Noting that a²-b² ≡ (a+b)(a-b), and that in this instance a = b+1.


<lang Quackery> 1000 2 / 1+ echo</lang>
<lang Quackery> 1000 2 / 1+ echo</lang>