Subject: Mathematics
Book: Maths Mastery
Determining whether a number is prime involves checking divisibility only up to its square root. For example, to test if 29 is prime, verify divisibility by primes less than √29 (~5.4), i.e., 2, 3, 5. Since none evenly divide 29, it is prime. Efficient prime checking algorithms play a significant role in encryption (RSA), random number generation, and coding challenges. Having a solid routine for prime checks sharpens your sense of number theory and fosters computational thinking—even if you rely on advanced methods for very large numbers.
If a square has a perimeter of 64 cm, what is its area?
View QuestionA man rows downstream at 6 km/h and upstream at 4 km/h. What is the speed of the stream?
View QuestionWhat is the sum of all even numbers between 1 and 100?
View QuestionIf x - y = 5 and x + y = 15, what is the value of x?
View QuestionIf sin(θ) = 0.6 and θ is acute, what is cos(θ)?
View QuestionA car travels 240 km in 4 hours. What is its average speed?
View QuestionIf a cone has a radius of 5 cm and a height of 12 cm, what is its slant height?
View QuestionIf x = 2 and y = 3, what is the value of (x^2 + y^2)?
View QuestionThe angles of a quadrilateral are in the ratio 3:4:5:6. What is the largest angle?
View QuestionIf the cost price of an item is Rs. 400 and the selling price is Rs. 500, what is the profit percentage?
View Question