Mian-Chowla sequence: Difference between revisions
m
→Functional Python: Updated type comment
(→{{header|Haskell}}: Added a Haskell version, in parallel to Python & JS) |
m (→Functional Python: Updated type comment) |
||
Line 1,219:
# nextMC :: Set Int -> [Int] -> Int -> (Set Int, Int)
def nextMC(setSums, mcs, n):
'''(Set of sums
'''
def valid(x):
|