Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Nesting Algorithm

  1. Oct 6, 2014 #1
    Hey guys,

    I'm searching a formula for this kind of situation :

    We have a list of values (33,60,50,15,100) and a target (520). We want to know how many times each value can go in the target (close to) with those specifications :

    - Maximum 2 different value at the time
    - Minimum use of values


    I'm pretty sure, there is a formula out there that respond to our situation.

    Best regards,

    P.S.: Forgive my English speaking, it's not my primary language.
     
  2. jcsd
  3. Oct 6, 2014 #2

    mathman

    User Avatar
    Science Advisor
    Gold Member

    Your description of what you are looking for is very unclear. Give an example of what you are trying to describe.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Nesting Algorithm
  1. Nested Radicals (Replies: 9)

  2. Nested radicals (Replies: 5)

  3. Nested Exponents (Replies: 2)

  4. De-nesting radicals (Replies: 4)

Loading...