How many integral n ≤ 2 0 1 4 satisfy
n 2 ≡ 2 ( m o d 8 )
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
did the same way, indeed the easiest method
I did the same
It is impossible for the square of an integer to have a remainder of 2 when divided by 8 . Let us show this by examining all possible cases where k is an even whole number ≤ 8 , and n ( m o d 8 ) ≡ k .
n ( m o d 8 ) ≡ 0
0 2 = 0
0 ( m o d 8 ) ≡ 0
n 2 ( m o d 8 ) ≡ 0
n ( m o d 8 ) ≡ 2
2 2 = 4
4 ( m o d 8 ) ≡ 4
n 2 ( m o d 8 ) ≡ 4
n ( m o d 8 ) ≡ 4
4 2 = 1 6
1 6 ( m o d 8 ) ≡ 0
n 2 ( m o d 8 ) ≡ 0
n ( m o d 8 ) ≡ 6
6 2 = 3 6
3 6 ( m o d 8 ) ≡ 4 .
n 2 ( m o d 8 ) ≡ 4
Since no cases show that n 2 ( m o d 8 ) ≡ 2 the answer must be 0 .
There are lots of easy ways to do this problem, but I just felt like showing all cases :P
Wow that was long
Log in to reply
That's what she said. :D
@Finn Hulse wait how do you do the grey horizontal line again?
Your LaTeX is annoying me. Also there is a much easier solution. :P
Log in to reply
Your method may not be easier than Michael's. Although his solution looks long when written down, it takes about 7-8 seconds to do that in your head.
Log in to reply
I agree.
Also, by showing all possible cases, there is (ideologically) no way that you will be incorrect, assuming that you did not make any errors in your casework.
Yeah I know.
So share it with us
If n 2 ≡ 2 ( m o d 8 ) , then n must be even, since odd n would yield an odd m o d 8 . An even n would be of the form 2 k , where k is an integer. Then n 2 would be 4 k 2 , and it would be 0 m o d 4 , so it would be either 0 m o d 8 or 4 m o d 8 . Since n 2 cannot be 2 m o d 8 for either even or odd integers, we conclude that the answer is 0 .
n 2 ( m o d 8 ) generates the series 1, 4, 1, 0, 1, 4, 1, 0, ... What more need be said?
Problem Loading...
Note Loading...
Set Loading...
n 2 ≡ 2 (mod 8) = > 8 k + 2 = n 2 where k is a non-negative integer.
(8k+2)=2(4k+1) is not a perfect square for any value of k.
Hence there are no solutions.