Register to reply

Method to use all the numbers in a string to equal other number

by ginyu
Tags: equal, method, number, numbers, string
Share this thread:
ginyu
#1
Jun23-13, 11:44 PM
P: 1
I was recently given the challenge to take a string of numbers (ages) and + x - / to equal another number (age). As part of the challenge each number can only be used once and you must only use numbers here to do multiply, add to, subtract from or divide by.

NUMBERS
7 9 11 37 45 45 47 75
TARGET NUMBER
70

Im not looking as much for the answer, more if there is any efficent method to do this rather than guess and check
Phys.Org News Partner Mathematics news on Phys.org
'Moral victories' might spare you from losing again
Fair cake cutting gets its own algorithm
Effort to model Facebook yields key to famous math problem (and a prize)
Office_Shredder
#2
Jun24-13, 12:20 AM
Emeritus
Sci Advisor
PF Gold
P: 4,500
Do you have to use each number once, or can I omit some of them from the solution?


Register to reply

Related Discussions
All numbers are equal Fun, Photos & Games 8
In two equal complex numbers, what parts are equal to each other? Calculus 17
Delete a specific number from beginning of string of numbers Programming & Computer Science 8
Numbers in Triangle Rows of 3 are equal rows of 4 are equal Fun, Photos & Games 2
Triangular numbers, T(An +B), that equal (Cn+D)*(En+F) for all n Linear & Abstract Algebra 3