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


by ginyu
Tags: equal, method, number, numbers, string
ginyu
ginyu is offline
#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
Math modeling handbook now available
Hyperbolic homogeneous polynomials, oh my!
Researchers help Boston Marathon organizers plan for 2014 race
Office_Shredder
Office_Shredder is offline
#2
Jun24-13, 12:20 AM
Mentor
P: 4,499
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 :D Brain Teasers 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 Brain Teasers 2
Triangular numbers, T(An +B), that equal (Cn+D)*(En+F) for all n Linear & Abstract Algebra 3