1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

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

  1. Jun 23, 2013 #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.

    7 9 11 37 45 45 47 75

    Im not looking as much for the answer, more if there is any efficent method to do this rather than guess and check
  2. jcsd
  3. Jun 24, 2013 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Do you have to use each number once, or can I omit some of them from the solution?
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook