CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Proving that every positive integer is of the form 3q or 3q+1.


Open in App
Solution

Step 1: Determine to prove that any positive integer is in the form of 3q,3q+1,3q+2 if n=3q

We know that from Euclid’s division lemma for b=3

Let us assume that any positive integer n be of the form 3q or, 3q+1 or 3q+2.

If n=3q,

On squaring we get,

n2=(3q)2=9q2

n2=3(3q2)

Here, n2=3m, where m is some integer [m=3q2].

Step 2: Determine to prove that any positive integer is in the form of 3q,3q+1,3q+2 if n=3q+1.

If n=3q+1,

On squaring we get,

n2=(3q+1)2=9q2+6q+1 [Solved using the identity (a+b)2=a2+b2+2ab]

n2=3(3q2+2q)+1

Here, n2=3m+1, where m is some integer [m=3q2+2q].

Step 3: Determine to prove that any positive integer is in the form of 3q,3q+1,3q+2 if n=3q+2.

If n=3q+2,

On squaring we get,

n2=(3q+2)2=9q2+12q+4 [Solved using the identity (a+b)2=a2+b2+2ab]

n2=3(3q2+4q+1)+1

Here, n2=3m, where m is some integer [m=3q2+4q+1].

Therefore, the square of any positive integer is of the form 3q or 3q+1 but not of the form 3q+2.

Hence, it is proved.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Is That All?
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon