Find the number of elements of the set P=\{n|n \in Z, 1 \leq n \leq 400, 3 \not{|}n

ankarskogC

ankarskogC

Answered question

2021-08-11

Find the number of elements of the set
P={nnZ,1n400,3¬{}n and 7¬{}n and 13¬{}n}.

Answer & Explanation

Mitchel Aguirre

Mitchel Aguirre

Skilled2021-08-12Added 94 answers

Step 1
We are to find the total number of elements of the set
P={nnZ,1n400,3¬{}n and 7¬{}n and 13¬{}n}.
Now, the total number of integers from 1 to 400 are 400.
Step 2
The number of integers which are divisible by 3, i.e., 3n
is [4003], [] denotes the function.
=[13333]
=133
Again, the number of integer which are divisible by 7, i.e., 7n
is [4007]=[5714]
=57
Again the number of integers which are divisible by 13, i.e., 13n
is [40013]=[3076]
=30
And since gcd(3,7)=1,gcd(7,13)=1,
gcd(3,13)=1 also gcd(3,7,13)=1
Hence the total number of elements of the set P is 400(133+57+30)=180

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?