Steady squares: Difference between revisions

m
(→‎Python :: Functional: Updated accumulating version to use .endswith)
Line 967:
ns = range(1, 1 + 10000)
xs = concatMap(steadyPair)(ns)
w, w2 = [(len(x) for x in xs[-1]])
 
print([n for n in ns if steadyPair(n)])
9,659

edits