All Questions
2 questions
7
votes
2
answers
242
views
4 distinct integers, whose reciprocals sum up to 1
I wrote the following short python program to solve a math puzzle, which asked for all the 4-tuples of distinct natural numbers whose reciprocals sum up to 1.
...
1
vote
2
answers
269
views
Two permutation iterators for classes in Python with and without a generator
I am just testing out a couple of small classes for learning purposes. Here is my current working code:
...