6. Maths- part 2
8.) Print all divisors/factors- Method-1 : 1 se n tak ka loop chalake check divisibility of n with each i Method-2 : 1 se sqrt(n) tak ka loop chalado and print i and n/i as per divisibility ----------------------------------------------------------------------------------------------------------------------------- 9.) Prime number check- prime number- has exactly 2 divisors (1 and itself) Method-1 : 1 se n tak dekhlo, ki it must have exactly 2 divisors... Method-2 : 1 se sqrt(n) tak dekhlo, ki it must have exactly 1 divisor... above methods ki cond true hai toh prime hoga...else not... ----------------------------------------------------------------------------------------------------------------------------- 10.) Prime factors of n- Method-1: filter out primes out of all factors of n Method-2: 1 se sqrt(N) tak save factors as per below code -------------...