Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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. ...
elias's user avatar
  • 181
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: ...
LucyBen's user avatar
  • 273