Topic Details (Notes format)

How to Do Prime Checking

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.

Practice Questions

If a square has a perimeter of 64 cm, what is its area?

View Question

A man rows downstream at 6 km/h and upstream at 4 km/h. What is the speed of the stream?

View Question

What is the sum of all even numbers between 1 and 100?

View Question

If x - y = 5 and x + y = 15, what is the value of x?

View Question

If sin(θ) = 0.6 and θ is acute, what is cos(θ)?

View Question

A car travels 240 km in 4 hours. What is its average speed?

View Question

If a cone has a radius of 5 cm and a height of 12 cm, what is its slant height?

View Question

If x = 2 and y = 3, what is the value of (x^2 + y^2)?

View Question

The angles of a quadrilateral are in the ratio 3:4:5:6. What is the largest angle?

View Question

If the cost price of an item is Rs. 400 and the selling price is Rs. 500, what is the profit percentage?

View Question