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

Home > Just Math
Way to minimum and maximum (Posted on 2009-04-08) Difficulty: 2 of 5
In the following equation, each of the x’s as well as each of W, A and Y represents a decimal digit from 0 to 9 whether same or different. None of the numbers can contain any leading zero.

(WAY)*(WAY) = (xxxxxxWAY)/1983

What are the respective minimum value and the maximum value of WAY?

See The Solution Submitted by K Sengupta    
Rating: 3.0000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution including the xxxxxx' es | Comment 3 of 4 |

DEFDBL A-Z

FOR w = 1 TO 9
FOR a = 0 TO 9
  FOR y = 0 TO 9
    way = w * 100 + a * 10 + y
    prod = way * way * 1983
    IF prod MOD 1000 = way THEN
      IF prod > 100000000 AND prod < 1000000000 THEN
        PRINT way, prod
      END IF
    END IF
  NEXT
NEXT
NEXT

 272           146710272
 375           278859375
 647           830101647

 


  Posted by Charlie on 2009-04-08 17:42:02
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 (7)
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