1. Joined
    29 Dec '08
    Moves
    6788
    05 Feb '16 23:262 edits
    I have a bottle of 250 pills. I take 1.5 pills a day. I take out two, take one, break the other in half, take one of the halves and put the other half back in the bottle. How many days will it be until the bottle contains the same number of whole pills and half pills? How many whole pills will be there on that day? If there will never be same number of halves and wholes, how many days till halves first exceed wholes and how many wholes will there be on that day?

    Edit: I will not take out three halves on any day until I have no wholes, i.e., until the wholes are gone.
  2. wherever I am needed
    Joined
    13 Dec '12
    Moves
    40201
    06 Feb '16 17:52
    Originally posted by JS357
    I have a bottle of 250 pills. I take 1.5 pills a day. I take out two, take one, break the other in half, take one of the halves and put the other half back in the bottle. How many days will it be until the bottle contains the same number of whole pills and half pills? How many whole pills will be there on that day? If there will never be same number of halves ...[text shortened]... ll not take out three halves on any day until I have no wholes, i.e., until the wholes are gone.
    if I have understood the problem, I reckon on the 84th day there will be 82 whole pills and 84 half pills (the day before, the 83rd, there would be 84 whole and 83 halves)

    IF I have understood the problem!
  3. Joined
    29 Dec '08
    Moves
    6788
    06 Feb '16 19:12
    Originally posted by st dominics preview
    if I have understood the problem, I reckon on the 84th day there will be 82 whole pills and 84 half pills (the day before, the 83rd, there would be 84 whole and 83 halves)

    IF I have understood the problem!
    You got it. Count halves H up by one per day D and wholes W down by two per day D, and see when the difference is minimized. This is brute force.

    Using algebra:

    one any day, after dosing, H=D, W=250-2D

    set H=W

    then D=250-2D

    subtract D

    0=250-3D

    3D=250

    D=250/3

    D=83.33...

    The .33... means there is no day on which W=H.
  4. wherever I am needed
    Joined
    13 Dec '12
    Moves
    40201
    06 Feb '16 19:241 edit
    cheers

    my method exactly

    one could, of course, set as a puzzle 'when both are equal' if you make the number of pills a multiple of 3 (say 300)
Back to Top

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.I Agree