ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

software request: display all possible solutions

(1/1)

Arthur Menu:
I have discovered KenKen puzzles and enjoy them a lot  but the more complex puzzles (9 x 9 grid) require a lot of time to solve. It would help if there were an app that would show all the possible integer solutions to an equation using only the integers 1 to 9.

For example, if I input the equation x+y+z=10,
the app would give the following results:
7,2,1
5,4,1
6,3,1
6,2,2
8,1,1
5,3,2
4,4,2
(Just doing the math in my head, may have missed a possible solution.)

If I input x*y*z=12,
the app would give:
6,2,1
4,3,1

Any takers? Or if such an app already exists, please point me to it.
-- Arthur

4wd:
Online version: KenKen and Kendoku calculator

If I input x*y*z=12,
the app would give:
6,2,1
4,3,1-Arthur Menu (April 14, 2018, 03:04 PM)
--- End quote ---



Results:

--- Code: Text ---12* =====3*2*24*3*16*2*1---------

Arthur Menu:
Thank you, 4WD! Perhaps you enjoy doing kenkens too!
-- Arthur

mouser:
As a side note, I recently experimented with the GO programming langauges and wrote a program to help make puzzles of a similar (but different form): For example, given the numbers [2, 3, 6, 15] find a mathematical expression that uses all of the numbers and reaches the target value of 7.

You can see my code here: http://www.donationcoder.com/forum/index.php?topic=39542.msg368923#msg368923

4wd:
Thank you, 4WD! Perhaps you enjoy doing kenkens too!-Arthur Menu (April 15, 2018, 02:36 AM)
--- End quote ---

Never knew they existed until you mentioned them.

If you want to get into Python there's some code on StackOverflow that deals with finding multiplication cases, you may be able to contact the original poster and ask if he has posted his solutions for addition, subtraction, and division somewhere.

There's also a lot of software on GitHub.

Navigation

[0] Message Index

Go to full version