A chief variety has no divisors apart from 1 and by itself. The answer checks potential divisors up towards the sq. root on the range — a typical optimisation well worth comprehending.Intricate issues like overall performance optimization, security and layout designs really should be used To guage e