Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132944 views
License: OTHER
1
triples :: [(Integer, Integer, Integer)]
2
triples = [(x,y,z) | z <-[1..],
3
x <- [1..z],
4
y <- [1..z],
5
z^2 == x^2 + y^2
6
]
7