When n is divided by 5 the remainder is 3. What is the remainder when (n-1)^2 is divided by 5?  Choose the correct choice from the following answers:
A) 0
B) 1
C) 2
D) 3
E) 4

Rationale: n = 5 x + 3 , for some integer x ( n - 1 ) ^ 2 = ( 5 x + 2 ) ^ 2 = 5 y + 4 , for some integer y when we divide this by 5 , the remainder is 4 . the answer is e .
Answer: E