Challenge - Keypad puzzle
|
02-14-2020, 12:00 AM
Post: #9
|
|||
|
|||
RE: Challenge - Keypad puzzle
Code: function gcd(a, b) Above is my brute-force Lua code. Only 16 cases, all of them included the "5", common prime factor = 11 lua> all_gcds() 5412 5214 66 4125 4521 33 1254 1452 66 2541 2145 33 5236 5632 44 2365 2563 11 3652 3256 44 6523 6325 11 5698 5896 22 6985 6589 11 9856 9658 22 8569 8965 11 5874 5478 66 8745 8547 33 7458 7854 66 4587 4785 33 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)