Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 1.3.7 ($n$ is a product of square-free and square)

Exercise 1.3.7 ($n$ is a product of square-free and square)

Show that every positive integer n can be written uniquely in the form n = ab , where a is square-free and b is a square. Show that b is then the largest square dividing n .

Answers

Proof. Write n = p 1 a 1 p 2 a 2 p l a l , the decomposition of n in prime factors, where a i > 0 for each index i . The division of a i by 2 gives a i = 2 b i + r i , where r i = 0 or r i = 1 . Then n = ab , where

a = p 1 r 1 p 2 r 2 p l a l , b = ( p 1 b 1 p 2 b 2 p l b l ) 2 .

Since r i { 0 , 1 } for each i , a is square-free, and b is a square. This shows that n can be written in the form n = ab , where a is square-free and b is a square.

Now we prove the unicity of such a decomposition. Suppose that n = ab = cd , where a , c are square-free and b , d are squares. Let q 1 , q 2 , , q u the prime factors of a , b , c , d . Since b , d are squares, all the exponents in the decompositions of b and d are even.

Write

a = q 1 s 1 q 2 s 2 q u s u , c = q 1 t 1 q 2 t 2 q u t u b = q 1 2 c 1 q 2 2 c 2 q u 2 c u , d = q 1 2 d 1 q 2 2 d 2 q u 2 d u ,

where s i 0 , t i 0 , c i 0 , d i 0 for all i [ [ 1 , u ] ] . Since a , c are square-free, s i { 0 , 1 } , t i { 0 , 1 } for all i .

Then ab = cd gives

a = q 1 s 1 + 2 c 1 q 2 s 2 + 2 c 2 q u s u + 2 c u = q 1 t 1 + 2 d 1 q 2 t 2 + 2 d 2 q u t u + 2 d u .

The unicity of the decomposition in prime factors shows that

s i + 2 c i = t i + 2 d i , i = 1 , 2 , , u .

Since 0 s i < 2 , 0 t i 2 , the unicity of the pair quotient-remainder in the Euclidean division gives s i = t i , c i = d i for all i . Thus a = c and b = d , and the decomposition is unique. □

User profile picture
2024-10-03 08:34
Comments