Created
October 17, 2022 01:11
-
-
Save galenseilis/294f37e65f1ca81775955f77091c4074 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from math import factorial | |
| import time | |
| n = 241779 | |
| prod_n = factorial(n) | |
| while 1: | |
| prod_n = prod_n * (n + 1) | |
| str_n = str(prod_n) | |
| n += 1 | |
| if len(set(str_n)) != 10: | |
| print('Woo hoo there it is!', time.ctime(), n, set(str_n)) | |
| break | |
| else: | |
| print(time.ctime(), n) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment