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

Home > Just Math
Another 2006 Problem (Posted on 2006-09-30) Difficulty: 2 of 5
Determine the total number of positive integer solutions of:

2/x + 3/y = 1/2006

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re(2): A Computer Assisted look ??? | Comment 8 of 9 |
(In reply to re: A Computer Assisted look ??? by Charlie)

Many thanks Charlie. I did fiddle with a couple of data types but my reference, not extensive, seemed a bit short on control string advice; this seemed to work.

As it was int every so often reverted to -ve values which I realised was due to overflow of 32k.

Again, thanks.


A change of data type made quite a difference, but the program cut out the first 19 on Charlie's list.  That is not surprising because the highest values for x and y are in an order far beyond what my program is seeking.   Extending the high counter range of x and y is telling on the time to find the first result!!!   Hope I don't add too much to global warming!

Edited on October 2, 2006, 12:31 am
  Posted by brianjn on 2006-10-01 18:55: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 (12)
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