hello folks. I learnt that every natural number n can be written as p1^n1 * p2^n2 * p3^n3*...... p1, p2, p3,....being different primes and n1, n2, n3.... natural numbers = Element of {1, 2, 3, ....} . And this decomposition of n is unique, there is no other.
The result FactorInteger[x]-> {{a,b}} means X = a^b. So FactorInteger[25] -> {{5,2}} is perfectly correct as 5^2 = 25 and 5 is prime.