All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
House Numbers (Posted on 2003-12-02) Difficulty: 2 of 5
Mr. X and Mr. Y live in the same avenue with only 9 houses between them. The number on their houses were both prime, and Mr. X found that he could express the number of his house as the sum of the squares of the digits of Mr. y's house number.
What were their house numbers ?

No Solution Yet Submitted by Ravi Raja    
Rating: 3.0000 (11 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution solution | Comment 8 of 15 |
assuming the larger number is two digits: n2=10a+b
we have n1=a²+b²
additionally we know that n2=n1+18 (9 houses apart on the odd side of the avenue).
then brute force search on primes for n2 from 11 to 97, yields:
n1=25
n2=43
  Posted by Hanan Rosemarin on 2004-03-26 07:47:23
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information