Babbage problem: Difference between revisions

Content deleted Content added
Hout (talk | contribs)
Hout (talk | contribs)
Line 956:
We can get to the solution almost immediately, after only a handful of tests, well within the reach of pencil and paper, if we discern that the root itself, to produce the 269692 suffix in its square, must have one of only four different final digit sequences: (0264, 5264, 4736, or 9736).
 
With a machine, this this approach can harvest thousands of Babbage pairs in less than a second.:
<lang haskell>import Data.List (intercalate)