Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Given two random integers $a$, $b$ calculate probability of $a^2$ + $b^2$ is divisible by $10$.

I've tried to simulate this process and got a result about $0.18$ (maybe incorrect), but have no idea why.

share|improve this question
1  
Whatever your notion of "random integer" may be ... –  Hagen von Eitzen Jan 6 '13 at 10:58

1 Answer 1

up vote 4 down vote accepted

Final digit of a and b as follows

(0,0); (1,3)(1,7); (2,4)(2,6); (3,1)(3,9); (4,2)(4,8); (5,5); (6,2)(6,8); (7,1)(7,9); (8,4)(8,6); (9,3)(9,7)

That's 18 possibilities out of 100

share|improve this answer
    
Oh, thanks. It is so clear and I should had figured it out. –  halfelf Jan 6 '13 at 9:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.