Consider a digital clock. The first time after midnight when the three digits are all prime numbers is 2:22 am. What is the last time before 10:00 am when the three digits on the clock are all prime numbers?
Details and assumptions
If your answer is 1:23 am, type it in as 123.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
just a simple math.Before 10 only 7 is prime.So 57 is the minute
Log in to reply
Any number between 12:01am and 10:00am should count, they are within the same day.
757
Good one
i attempted in the last try...
Log in to reply
@Waqas Saeed That's ok. I didn't get correct in all turn.
gud
Solved it in one try. But i was pretty sure the time was 7:57am
hmm...nice solution!
757 also 757 is the 28th prime whose digits are all primes http://primes.utm.edu/lists/small/10000.txt
let d be the number of digits, then the probability (P) of finding a number whose digits are all prime is (4/10)^d (without counting 1 as a prime) primes less than 10 : 2, 3, 5, 7 here is the first part of the list 2, 3, 5, 7, (4) 22, 23, 25, 27, 32, 33, 35, 37, 52, 53, 55, 57, 72, 73, 75, 77,(16=(4/10)^2 i mean 16 2-digit numbers less than 100 ) 222, 223, 225, 227, 232, 233, 235, 237, 252, 253, 255, 257, 272, 273, 275, 277, 322, 323, 325, 327, 332, 333, 335, 337, 352, 353, 355, 357, 372, 373, 375, 377, 522, 523, 525, 527, 532, 533, 535, 537, 552, 553, 555, 557, 572, 573, 575, 577, 722, 723, 725, 727, 732, 733, 735, 737, 752, 753, 755, ((((((757)))), 772, 773, 775, 777, lim as m goes to infinity of (4/10)^m is 0 that means that you can't write a number with infinitely many digits 7...7 LOL PS: the secret of prime numbers is the prime numbers themselves
7 is the prime number before 10 , so it will be 7 but there is no 777 so it will be 757
Good I followed the same process
i followed d same process too.
how would you write the answer, I got 7:57 am too. I wrote the answer as 757, as told yet I got the answer wrong
Log in to reply
It might be that you mistakenly gave some other answer as input because if you entered 757 as the answer then it should have been correct as I also answered 757 which was the correct answer.
757 is correct
Prasun has mentioned the correct step
I did the same
sorry i am mistaken
good one......
yea good one
nice
a guru!
Nice Question
i cant understand..
I guess I'm just not understanding the question how it's written, but if both 2 and three are prime numbers, why isn't 2:23 the answer?
Log in to reply
Because it isn't the last time before 10:00 . We can just write out the times that satisfy the criteria of having all prime digits and lying between 2:22 and 10:00
2:23 , 2:25 , 2:27 , 2:32 , 2:33 , 2:35 , 2:37 , 2:52 , 2:53 , 2:55 , 2:57
3:22 , 3:23 , 3:25 , 3:27 , 3:32 , 3:33 , 3:35 , 3:37 , 3:52 , 3:53 , 3:55 , 3:57
5:22 , 5:23 , 5:25 , 5:27 , 5:32 , 5:33 , 5:35 , 5:37 , 5:52 , 5:53 , 5:55 , 5:57
7:22 , 7:23 , 7:25 , 7:27 , 7:32 , 7:33 , 7:35 , 7:37 , 7:52 , 7:53 , 7:55 , 7:57
What's the last element of this list?
Log in to reply
what about 11:11 note 11 is prime
Log in to reply
Log in to reply
@Pat Gr – And 11 is not a digit, and 1 is not prime.
what about 7:77 missing in your list?
Log in to reply
@Pat Gr – 7:77 is more commonly referred to as 8:17 which doesn't really fit the bill.
I don't get why its not 959
57 is not a prime number........ coz 19 * 3= 57
Log in to reply
True, 57 is not a prime number. But we are looking for prime digits. The digits of 57, 5 and 7 are prime numbers.
Is it 2:22 the first time when the watch displays 3 primes? What about 1:11 or 1:13 or 1:17? They are not before 2:22??
Log in to reply
1 is not a prime number. It has only one factor: 1. 1 1=1. A prime has two, and exactly two, factors. 1 2=2. Therefore 2 is the least prime number, not 1.
11 is prime
Log in to reply
11 is not a digit. It has two digits, both 1. And 1 is not prime.
Is 757 a prime number?
what about 7:59
Log in to reply
It is told that all the 3 digits of the required time should be prime. Now, in 7:59, 7 and 5 are prime but 9 is not as it is divisible by 3. So, 7:59 cannot be the required time.
why cant it be 7:77
Log in to reply
'Coz there's only 60 mins in an hour -_-
It can't be 7:77 because after 7:59 the next time the digital clock will show is 8:00 because 1 hour has 60 mins.
because 59 is the limit for minute.77 exceeds it.
Is 1 hr over or the same 77 mins?
The last hour it can be is 7 (the last prime number before 10). The last prime digit in the tens place (for minutes) that it can be is 5 (the last prime before 6; there are 60 minutes in an hour.) The last minutes digit it can be is 7 (the last prime before 10). The answer is 7 : 5 7
We can follow a digit based approach. 1. Let the time is X:XX
Yeeeeee........... YOU GOT IT........
but why not 7:59
Log in to reply
Because 9 is not a prime, and the problem asked for all 3 digits to be prime.
Actually, the maximum possible minutes value is 59, not 60. After 59, you roll back over to 0.
Correct is7:57
7- the closest prime no. to 10. 5- the closest prime no. to 6 (as in 60). 7- the closest prime no. to 9 ( as in 59 minutes).
biggest below 59 minutes is 57 and the biggest below 10 is 7 so it becomes 7:57
before 10 am , the largest prime number is 7 , so combinations are 7:53 , 7:55 , 7:57. we see the last one is 7:57.
before 10...(2,3,5,7) are the prime nos.. so nearest to 10 is 7,sogo from 7:59 in reverse..u will hit on 7:57..wich has all prime nos.
2,3,5,7 are prime numbers before 10 .So, we need to arrange a number(time) with 2,3,5,7 so that only 1 & itself can divide it.The number is 757 or 7:57 which is a prime time.[As it is closest to 10:00]
(SOLVED)
there 4 prime no. 2,4,5,7. So now combine them. And is 7:57 am
How 4 can be a prime?
within 10 the prime numbers are 2,3,5,7 After 2.22 , the last possible before 10 am is 7.57
The prime numbers before 10 are 2,3,5 and 7. Since 7 is the greatest among these, the time will belong to the 7th hour. Since there are only 60 mins. in an hour, thus time will be 57 minutes, which is the largest number less than 60 and is formed of two prime numbers. Thus, the time will be 7:57 am
the answer is 7:57
which having all digits as prime number before 10am
Before 10, 9 is not prime, nor 8.
Hence 7.
Start from 7:60 (i.e. 8)
7:59.........discarded because of 9
7:58.........discarded because of 8
7:57......... Ha, Gotcha.
Good way of writing
7:57 is the only time before 10:00 where all 3 digits are prime numbers.
7.57 IS The correct time before 10 am bcoz the prime no before 10 is 2 3 5 7..but last the last prime before 10 is 7 at the same time we have some following prime combination in 7 like 753 755 733 ..but the the last three digit prime is 757..after that 8 & 9 is not a prime no.
go through all prime numbers ....... i.e 2,3,5,7,11 and so on... but before 10:00 am ...... so less than 10 .... that is reverse order from 10 which gives you 7. Than in digital clock or any clock minutes are never 70+ .... so less than 7 is 5... so 7:57 am is the correct answer . :D
You just have to go back from the digit 10 and 7 comes first..(7:??) then we have to decide with the minutes deciding back from 6 which is 5 (7:5?) and the last place from digit 9 i.e, 7 of course so the answer is (7:57)
7 is the highest prime before 10, 5 is the highest number before 6 and 7 is the highest prime number before 9 so it’s 7:57
Prime numbers smaller than 10 are 2 , 3 , 5 , 7 so it gives us 7 : 7 7
But the minute number is smaller than 60.
So the answer is 7 : 5 7 am
Before 10am, it is 9:59, yet 9 isn't prime. Do it cannot be 9:something. This holds true for 8, and the next option is 7:something. 7 is prime, so this works. The last ten minutes if 7:something are 7:5x and 5 is a prime, so this is our solution. The highest prime under 10 us 7, so x is 7.
Is the the last number before 10 is 7 and then you have a to think of there is 60 minutes in an hour. So that would have to be before the 6 which the only prime number is 5 then you need see which prime number are before 9 which is 7 again
We have four prime numbers between 1 and 10(2,3,5 and 7) .By this we statement we come to know that the time is between 7 and 8.It is now easier because by this statement we know that the time is between 7.50 and 8.00.the highest prime number in between is 57 .There fore the time is 7.57 a.m
The answer is 7.57am. 9 and 8 are not prime numbers but 7 is.
From 10, think of a lower prime number for each digit.
The only prime numbers available before 10 is 2,3,5,7. Out of this 7 is the biggest and 7am is the last prime number before 10. So the answer lies some where in 7am. In an hour there is only 60 minutes so, the largest prime number before 60 is 57. Thus the obvious answer is 7:57am.
Hope you understood.
the prime numbers before 10 are: 2, 3, 5 & 7, so the nearest hour before 10 is 7am, and the last minute is 57min, not 58 or 59 since 8 & 9 are composite numbers
We know that there largest prime below 1 0 is 7 . We want the time which has the most primes. So, we start at the top and work our way to the bottom. Therefore, we start in the 7 : 5 x . The largest prime, once again, in the tens is 7 . So the answer has to be 7 : 5 7 or in other words, 7 5 7 .
(prime no is=1,2,3,5,7 ).A.TO.Q. 2:22 is a time in which all no. are prime no.
now, we take the prime no.which is before 10. 7 is the no. we have to taken,the time a.to watch time will be 7:11,7:13,7:15 ......... 7:57
I actually got it right on the third try.
First answer: 777 That's dumb isn't it ? :D the clock never strikes 7:77 AM !
second answer: 555 After the first embarassment I tried a face saver.. and splat! egg on my face again..
the answer of course was 7:57 AM The highest single digit prime number is 7. That figures on the clock too.. so there is your first digit. the minutes range from 0 to 59. so the highest single digit prime that can fit in to the first minutes spot is 5. The second digit for the minutes has to be <=9. 9 & 8 can be ruled out and that leaves us with 7.
so there you are: 7:57 AM
for given problem solution must contain three prime numbers which should not exceed 60 in seconds place and also should not exceed 10 in hours place. so in hours place 7 is highest prime before 10, 57 is highest prime before 60. finally 7:57 is answer.
Lets take 10:00 am as the no.10. The last prime no. before 10 would be 7. The largest combination in terms of 3 digits would be 7:77, but as 70 mins in a hr is not possible, we choose a prime number which immediately precedes 7, which is 5. so the last time before 10:00 am where all digits are prime, would be 7:57.
it seem answer should be 7:77 but there is no time like 7:77 its the 7:57 which is close to 10.00am
since what was asked was what is the last time before 10:00 am when the three digits on the clock are all prime numbers. and so prime numbers are numbers that only 1 and itself are the factors, so to determine, start counting backwards, 9?? no! because 9 is not prime, 8?? still no, not a prime! 7? yes! thats 7 am, we only need to determine the prime minutes to complete the answer..and the two digits should also be prime and below 60... thats why its 57... the answer is 7:57, expressed as 757
It is so simple! First choose the largest prime before 10...which is 7! And the second largest is 5! We cannot use 777, 775(since there is no time with this) The only possible answer 757(07:57)
The last prime number which is smaller than 10 is 7, and because it can't be 7:77 am, (the second number must be smaller than 6) we'll use the next prime number smaller than 6. It is 5. So the answer is 7:57 am.
the last time the digital clock shows all the three prime number digits before 10:00 am is at 7:57 am....hence the answer 757
Before 10:00 all time nos. have three digits, so we need to check the first digit...all the time stamps in the 9th hour do not fit as nine isn't a prime no. Neither is 8. But 7 is. So we start from back, 7:59, no ; 7:58, no ; 7:57, yes.
Problem Loading...
Note Loading...
Set Loading...
Before 10, there are 4 prime numbers ( 2 , 3 , 5 , 7 ) , now before 10:00 am, 7:00 am comes, so the time between 7:00 and 8:00 is our required time since the hour part should be 7 . Now, for the minute part, it cannot be greater than 5 9 . So, we can rule out 7 2 , 7 3 , 7 5 , 7 7 for the minute part of the time. The minute part should start with 5 then as it is the prime number lower than 7 and is valid. So, we come down to 4 choices --- 7:52 , 7:53 , 7:55 and 7:57 am . We can clearly see that 7:57 am is the last time which fits the criteria of this question. So, 7 : 5 7 a m is our required time.