The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Challenge - Keypad puzzle
02-13-2020, 08:30 AM
Post: #1
Challenge - Keypad puzzle
Hi everyone.
A small challenge discussed with a friend.

Any number created by a tuple of 4 digits on a square shape of 4 consecutive keys on a standard keypad share a common prime factor.

What is this common factor?
The demonstration of quite easy, you can find it once you have the common factor.

I also ask you to create a brut force algorithm, taking any tuple as defined above and finding the common factor.
Brut force might be funny because there are not a lot of combinations and the algorithm, even if brut force, has lots of possibilities of optimization.

   
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Challenge - Keypad puzzle - pinkman - 02-13-2020 08:30 AM
RE: Challenge - Keypad puzzle - John Keith - 02-13-2020, 05:34 PM
RE: Challenge - Keypad puzzle - pinkman - 02-13-2020, 09:07 PM
RE: Challenge - Keypad puzzle - John Keith - 02-13-2020, 06:00 PM
RE: Challenge - Keypad puzzle - pinkman - 02-13-2020, 09:09 PM
RE: Challenge - Keypad puzzle - pinkman - 02-14-2020, 06:25 AM
RE: Challenge - Keypad puzzle - pinkman - 02-13-2020, 09:11 PM
RE: Challenge - Keypad puzzle - pinkman - 02-14-2020, 06:45 AM
RE: Challenge - Keypad puzzle - pinkman - 02-14-2020, 12:07 PM
RE: Challenge - Keypad puzzle - pinkman - 02-14-2020, 12:17 PM
RE: Challenge - Keypad puzzle - John Keith - 02-14-2020, 09:12 PM
RE: Challenge - Keypad puzzle - pinkman - 02-14-2020, 10:55 PM
RE: Challenge - Keypad puzzle - John Keith - 02-15-2020, 06:38 PM



User(s) browsing this thread: 4 Guest(s)