Created
November 6, 2020 22:26
-
-
Save starkcoffee/58abf54bea5a3d97344140ae6840e2f1 to your computer and use it in GitHub Desktop.
Check answer to Conway's 'Digital Perfection' Puzzle
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
# https://www.quantamagazine.org/three-math-puzzles-inspired-by-john-horton-conway-20201015/ | |
# via Larene | |
# answer = YOUR_ANSWER | |
not False in [ n % (i+1) == 0 for i, n in enumerate([ (answer // 10**(9-i)) for i in range(10)])] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment