Find square difference: Difference between revisions

Content added Content deleted
Line 155: Line 155:


=={{header|Haskell}}==
=={{header|Haskell}}==
The sequence of differences between successive squares is the sequence of odd numbers.
<lang haskell>import Data.List (findIndex)
<lang haskell>import Data.List (findIndex)