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

Home > Numbers
7/9 (Posted on 2004-09-27) Difficulty: 3 of 5
Can you solve the following cryptarithm? SEVEN / NINTHS = 7/9

See The Solution Submitted by Federico Kereki    
Rating: 3.8333 (6 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re: Computer Solution | Comment 6 of 7 |
(In reply to Computer Solution by Rajal)

A direct computer solution can be obtained via:

FOR s = 6 TO 9
FOR n = 1 TO 2
FOR e = 0 TO 9
IF e <> s AND e <> n THEN
FOR v = 0 TO 9
IF v <> e AND v <> s AND v <> n THEN
FOR i = 0 TO 9
IF i <> v AND i <> e AND i <> s AND i <> n THEN
FOR t = 0 TO 9
IF t <> i AND t <> v AND t <> e AND t <> s AND t <> n THEN
FOR h = 0 TO t
IF h <> t AND h <> i AND h <> v AND h <> e AND h <> s AND h <> n THEN
  IF 9 * (s * 10000 + e * 1010 + v * 100 + n) = 7 * (n * 101000 + i * 10000 + t * 100 + h * 10 + s) THEN
    PRINT s * 10000 + e * 1010 + v * 100 + n, n * 101000 + i * 10000 + t * 100 + h * 10 + s
  END IF
END IF
NEXT
END IF
NEXT
END IF
NEXT
END IF
NEXT
END IF
NEXT
NEXT
NEXT

 


  Posted by Charlie on 2004-09-27 16:16:18
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 (3)
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