Edit MetaData
2 years, 5 months ago
2 years, 5 months ago
Hi Nikita Tater,
There are 6 numbers in the password.
_, _, _, _, _, _
Prime numbers - 2, 3, 5, 7
Composite numbers - 4, 6, 8, 9
First two numbers are prime and can be repeated; therefore, number of ways = 4*4
Last two numbers are composite and cannot be repeated; therefore, number of ways = 4*3
One number is zero. Other number can be either prime or composite
Case (i): If prime
There are 2 possible positions for 0.
Total number of ways = 4*4*4*3*1*4*2 = 1536
Case (ii): If composite
There are 2 possible positions for 0.
Total number of ways = 4*4*4*3*1*2*2 = 768
Total number of ways = 1536 + 768 = 2304
Hope this helps!