Prime Time

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.


The answer is 757.

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.

40 solutions

Prasun Biswas
Feb 1, 2014

Before 10, there are 4 4 prime numbers ( 2 , 3 , 5 , 7 ) (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 7 . Now, for the minute part, it cannot be greater than 59 59 . So, we can rule out 72 , 73 , 75 , 77 72,73,75,77 for the minute part of the time. The minute part should start with 5 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 : 57 a m \boxed{7:57 am} is our required time.

just a simple math.Before 10 only 7 is prime.So 57 is the minute

Tanuj Sur - 7 years, 2 months ago

Log in to reply

Any number between 12:01am and 10:00am should count, they are within the same day.

John Anderson - 2 years, 5 months ago

757

Jeet Dubey - 7 years, 3 months ago

Good one

Arif Ahmed - 7 years, 3 months ago

i attempted in the last try...

Waqas Saeed - 7 years, 3 months ago

Log in to reply

@Waqas Saeed That's ok. I didn't get correct in all turn.

. . - 2 months, 3 weeks ago

gud

Shahin Alam - 7 years, 2 months ago

Solved it in one try. But i was pretty sure the time was 7:57am

Jeane Anne Dagoy - 7 years, 2 months ago

hmm...nice solution!

Nitin Bharadwaj - 7 years, 3 months ago

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

Leonardo Rioja - 7 years, 2 months ago

7 is the prime number before 10 , so it will be 7 but there is no 777 so it will be 757

Anas Bin Abu Anas - 7 years, 1 month ago

Good I followed the same process

Debjyoti Chattopadhyay - 7 years, 4 months ago

i followed d same process too.

Abhijit Ganguly - 7 years, 4 months ago

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

Rocio Jerez - 7 years, 3 months ago

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.

Prasun Biswas - 7 years, 3 months ago

757 is correct

Antul Kashyap - 7 years, 3 months ago

Prasun has mentioned the correct step

Nikhil Durgapal - 7 years, 3 months ago

I did the same

veena tanguturi - 7 years, 3 months ago

sorry i am mistaken

navin s - 7 years, 3 months ago

good one......

manish raut - 7 years, 3 months ago

yea good one

Arvind Krishna - 7 years, 3 months ago

nice

Krizza Magno - 7 years, 3 months ago

a guru!

Ernest Ubor - 7 years, 2 months ago

Nice Question

Matheswari selvaraj - 7 years, 2 months ago

i cant understand..

Jili Akhi - 5 years, 6 months ago

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?

Michael de Vries - 5 years, 4 months ago

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?

Prasun Biswas - 5 years, 4 months ago

Log in to reply

what about 11:11 note 11 is prime

Pat Gr - 3 years, 6 months ago

Log in to reply

@Pat Gr ooops misread the problem must be before 10

Pat Gr - 3 years, 6 months ago

Log in to reply

@Pat Gr And 11 is not a digit, and 1 is not prime.

Phillip Wagoner - 2 years, 7 months ago

what about 7:77 missing in your list?

Pat Gr - 3 years, 6 months ago

Log in to reply

@Pat Gr 7:77 is more commonly referred to as 8:17 which doesn't really fit the bill.

Prasun Biswas - 3 years, 5 months ago

I don't get why its not 959

Hee Haw - 4 years, 7 months ago

Log in to reply

9 is not prime

Pat Gr - 3 years, 6 months ago

57 is not a prime number........ coz 19 * 3= 57

Sibanarayan Moharana - 4 years, 1 month ago

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.

Phillip Wagoner - 2 years, 7 months ago

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??

Luis Daselbe - 3 years, 7 months ago

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.

Phillip Wagoner - 2 years, 7 months ago

11 is prime

Pat Gr - 3 years, 6 months ago

Log in to reply

11 is not a digit. It has two digits, both 1. And 1 is not prime.

Phillip Wagoner - 2 years, 7 months ago

Is 757 a prime number?

. . - 10 months, 3 weeks ago

what about 7:59

fatima adam - 7 years, 4 months ago

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.

Prasun Biswas - 7 years, 4 months ago

why cant it be 7:77

navin s - 7 years, 3 months ago

Log in to reply

'Coz there's only 60 mins in an hour -_-

James Brisbane - 7 years, 3 months ago

Log in to reply

I did the same mistake lol

I Love Brilliant - 10 months, 2 weeks ago

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.

Sahba Hasan - 7 years, 3 months ago

because 59 is the limit for minute.77 exceeds it.

Tanuj Sur - 7 years, 2 months ago

Is 1 hr over or the same 77 mins?

. . - 10 months, 2 weeks ago

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 : 57 \boxed {7:57}

B Krishna Reddy
Feb 20, 2014

We can follow a digit based approach. 1. Let the time is X:XX

2. Let's fill the hour which is prime and closely less than 10. Ans is "7".

Ans:7:XX

3. Now its minute's digit turn. digit which is maximum(ie. we need to get close to 10am) and prime possible is "5". because maximum minutes possible is 60.

Ans:7:5X

4. Now for the last digit the maximum prime possible is "7".

Ans:7:57

Yeeeeee........... YOU GOT IT........

but why not 7:59

Aman Pratap Singh - 4 years, 6 months ago

Log in to reply

Because 9 is not a prime, and the problem asked for all 3 digits to be prime.

Jerry Barrington - 4 years, 4 months ago

Actually, the maximum possible minutes value is 59, not 60. After 59, you roll back over to 0.

Jerry Barrington - 4 years, 4 months ago

Correct is7:57

Kazi Nahar - 7 months, 1 week ago
Yuning Sun
Sep 23, 2015

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).

Ptolemy Soter
Feb 8, 2017

biggest below 59 minutes is 57 and the biggest below 10 is 7 so it becomes 7:57

Vandana Verma
Apr 15, 2014

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.

Manoj K Sharma
Apr 5, 2014

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.

Azmain Yousuf
Mar 21, 2014

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)
Rabiul Islam
Mar 17, 2014

there 4 prime no. 2,4,5,7. So now combine them. And is 7:57 am

How 4 can be a prime?

. . - 2 months, 3 weeks ago
Ashish Sharma
Mar 14, 2014

0757

within 10 the prime numbers are 2,3,5,7 After 2.22 , the last possible before 10 am is 7.57

Smriti Prakash
Mar 2, 2014

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

Mohammad Fiyaz
Feb 24, 2014

the answer is 7:57

which having all digits as prime number before 10am

Tanay Kocharekar
Feb 11, 2014

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

YASH KASAT - 7 years, 3 months ago
Sayan Ganguly
Feb 5, 2014

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.

Stalin Maths - 7 years, 4 months ago
Jatin Jaganiya
Feb 2, 2014

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

Atul Saswat
Jan 31, 2014

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)

Ervyn Manuyag
Nov 8, 2018

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 2,3,5,7 so it gives us 7 : 77 7:77

But the minute number is smaller than 60.

So the answer is 7 : 57 am \boxed{\large{7:57~\text{am}}}

Zoe Codrington
Sep 5, 2018

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.

Jasmine Holt
Oct 24, 2017

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

Kumar Aditya
Mar 21, 2014

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

Abhinav Ankur
Mar 21, 2014

The answer is 7.57am. 9 and 8 are not prime numbers but 7 is.

Melvin Mosq
Mar 14, 2014

common sense

Julieta Ramos
Mar 14, 2014

From 10, think of a lower prime number for each digit.

Usman Mohammad`
Mar 12, 2014

Its 7:57.. Simple

Saivenkat Vunnam
Mar 8, 2014

7:57 AM

Arvind Krishna
Feb 28, 2014

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

Jeel Shah
Feb 22, 2014

We know that there largest prime below 10 10 is 7 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 7:5x . The largest prime, once again, in the tens is 7 7 . So the answer has to be 7 : 57 7:57 or in other words, 757 \boxed{757} .

Tarun Kumar
Feb 18, 2014

(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

Rohit Kshirsagar
Feb 15, 2014

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.

Muskaan Ohri
Feb 12, 2014

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.

Aqib Pandit
Feb 9, 2014

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

Ceejay Bedoria
Feb 7, 2014

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)

Eva Andrea Bodor
Feb 3, 2014

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.

Steffy Saji
Feb 3, 2014

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.

1 pending report

Vote up reports you agree with

×

Problem Loading...

Note Loading...

Set Loading...