Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 4.5.15 (Number of positive integers $k \leq n = p^\alpha q ^\beta r^\gamma$ that are divisible by none of $pq,\, pr$, or $qr$)

Exercise 4.5.15 (Number of positive integers $k \leq n = p^\alpha q ^\beta r^\gamma$ that are divisible by none of $pq,\, pr$, or $qr$)

Let n be a positive integer having exactly three distinct prime factors p , q and r . Find a formula for the number of positive integers n that are divisible by none of pq , pr , or qr

Answers

Proof. The decomposition of n in prime factors is

n = p α q β r γ , α > 0 , β > 0 , γ > 0 .

We define

A pq = { k [ [ 1 , n ] ] pq k } ,

and similarly A qr and A pr .

Then the number of positive integers k n that are divisible by none of pq , pr , or qr is the cardinality N of E , where

E = [ [ 1 , n ] ] ( A pq A qr A pr ) .

Then

N = | E | = n | A pq A qr A pr ) | , (1)

where

| A pq A qr A pr ) | = | A pq | + | A qr | + | A pr | | A pq A qr | | A pq A pr | | A qr A pr | + | A pq A pr A qr | .

Moreover | A pq | = n pq = n pq , and similarly | A qr | = n qr , | A pr | = n pr . Since

A pq A qr = { k [ [ 1 , n ] ] : pq k  and  qr k } = { k [ [ 1 , n ] ] : p k  and  q k  and  r k } = { k [ [ 1 , n ] ] : pqr k } ,

and similar results for A pq A pr and A qr A pr , we obtain

| A pq A qr | = | A pq A pr | = | A qr A pr | = n pqr .

Finally,

A pq A pr A qr = { k [ [ 1 , n ] ] : pq k  and  pr k  and  qr k } = { k [ [ 1 , n ] ] : p k  and  q k  and  r k } = { k [ [ 1 , n ] ] : pqr k } ,

thus

| A pq A pr A qr | = n pqr .

Then (1) becomes

N = n n pq n qr n pr + 3 n pqr n pqr ,

so

N = n n pq n qr n pr + 2 n pqr .

User profile picture
2025-04-03 09:33
Comments