MHB How many smartphone password combinations can be made using a 3x3 grid?

  • Thread starter Thread starter Jameson
  • Start date Start date
AI Thread Summary
Smartphone passwords on a 3x3 grid can be created by connecting six dots starting from one of the four corners, with the restriction that no dot can be crossed more than once. The discussion focuses on calculating the total number of unique password combinations possible under these conditions. Members contributed solutions, with Sudharaka providing a correct answer. The complexity arises from the requirement to connect the dots without repetition, significantly limiting the options. This topic highlights the mathematical challenge of pattern formation in mobile security.
Jameson
Insights Author
Gold Member
MHB
Messages
4,533
Reaction score
13
Smartphone passwords can be made by submitting a pattern on a 3x3 grid like below.
View attachment 1007

Assuming that the pattern starts in one of the four corners, contains 6 dots and all the dots must be connected, how many different password combinations are there?

Note: You cannot cross the same dot once it is chosen.
--------------------
 

Attachments

  • 5mhg4.jpg
    5mhg4.jpg
    18.5 KB · Views: 136
Physics news on Phys.org
Congratulation to the following members for their correct solutions:

1) Sudharaka

Solution (from Sudharaka):
Note that each pattern can be considered as a beam with three bending points. Each bending point can take anyone of the four angles, \(45^0,\,90^0\, 135^0\mbox{ and }180^0\). Therefore if we start from one corner we have \(4\times 4\times 4=4^3\) possibilities. However note that we cannot make a pattern with all three angles taking the value \(135^0\). Therefore we have to eliminate that possibility. Hence the number of possibilities becomes \(4^3-1\). Now each pattern has two instances starting from the same corner. For example the L shaped pattern can be made in the following ways, starting from the upper left corner.

* * *
* * *
* * ** * *
* * *
* * *

Hence the number of possibilities becomes \(2(4^3-1)=126\). Since each pattern can be made with each of the four corners we have,

Total number of possibilities \(=4\times 126=504\)
 
Back
Top