starting from 2 upto how many numbers we need to check whether 907 is prime or not?



starting from 2 upto how many numbers we need to check whether 907 is prime or not?..

Answer / Hemlata

In order to determine if a number is prime, we only need to check for divisors up to its square root. Therefore, since the square root of 907 (approximately 95.4) is an integer, you would need to check up to 96 numbers (from 2 to 96). However, it's faster and more efficient to use a prime number checker function or library.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More General Aptitude Interview Questions

A 16 stored building has 12000 sq.feet on each floor. Company A rents floors and company B rents 4 floors. What is the number of sq.feet of unrented floor space.

1 Answers   IBM, TATA,


6 people A,B,C,D,E and F sit around a table for dinner. Since A does not like C, he doesn't sit either opposite or beside C.B and F always like to sit opposite each other. If A is beside F then who is are the two neighbours of B?

1 Answers   Wipro,


How many 1's are there in the binary form of 8*1024 + 3*64 + 3

1 Answers   3i Infotech, Canara Bank, EDS,


A person buy the 6, 1 Rs stamps and 7, 50 paisa stamps he has given 12 Rs how much he will get back.

3 Answers   Citicorp, COSL,


If wind flows 160 miles in 330 min, for 80 miles how much time required.

1 Answers   TCS,


what is the difference between sports and games?

3 Answers   IBM,


Side of rhombus is 5cm and sum of lengths of diagonals is 12cm. what is the area of rhombus?

10 Answers  


A man gets x/y of Rs.10 and y/x of Rs.10. He returns Rs.20. The Answer choices are a) He may not lose b) He may lose c) He always loses d) Cannot be Determined

2 Answers   CTS,


3+4=25 4+5=41 5+6=?

7 Answers  


Mr. Wagle goes to work by a bus. One day he falls asleep when the bus still has twice as far to go as it has already gone. Halfway through the trip he walks up as the bus bounces over some bad potholes. When he finally falls asleep again, the bus still has half the distance to go that it has already traveled. Fortunately, Mr. Wagle wakes up at the end of his trip. What portion of the total trip did Mr. Wagle sleep? a) 50% b) 25% c) 30% d) 75%

2 Answers   Infosys,


I am writing the APSRTC OUT post.so i dont know the managerial aptitude.If any one know about this or refer any book, please give the information to my Mail id is narayanansg@gmail.com

1 Answers  


sir could u send me andhra bank clerical model papers

1 Answers   Andhra Bank,


Categories