Author |
Topic: Beer Seller (Read 1447 times) |
|
Marcello
Newbie
Gender:
Posts: 1
|
|
Beer Seller
« on: Dec 4th, 2002, 12:28pm » |
Quote Modify
|
This is my first in this forum.Hope you like it! There's a guy who has a number of beers.The first day he drinks one beer in the morning and sells the 1/4th of the remaining beers at the afternoon.The second day he drinks one beer in the morning and sells the 1/4th of the remaining ones at the afternoon.The same happens at the 3rd,the 4th,the 5th,the 6th and the 7th day.Considering that each day after selling the beers he has an integer number of them,what is the minimum number of beers he had at the beginning.Forgive me for my bad english.Hope you find the answer!! //Thread title changed by Icarus to be more descriptive
|
« Last Edit: Sep 20th, 2003, 7:49pm by Icarus » |
IP Logged |
|
|
|
James Fingas
Uberpuzzler
Gender:
Posts: 949
|
|
Re: Mathematic problem
« Reply #1 on: Dec 4th, 2002, 12:44pm » |
Quote Modify
|
Marcello, I have heard questions sort of like this before, but man, that's a lot of beer! Who does he sell them to? The entire Republican party?
|
|
IP Logged |
Doc, I'm addicted to advice! What should I do?
|
|
|
Speaker
Uberpuzzler
Gender:
Posts: 1118
|
|
Re: Mathematic problem
« Reply #2 on: Dec 5th, 2002, 12:36am » |
Quote Modify
|
Here's my answer: 749,154,092,363,989 And, at the end of the week, he still has 100,000,000,000,000 I have a couple of notes on this answer. I didn't hide it for too reasons, first I don't know how, second I wouldn't want to hide an incorrect answer. Also, I used a rather arcane method to arrive at this answer, it may be wrong, I can't prove otherwise. But James hint on it being enough to provide for the entire republican party set me on the right track.
|
|
IP Logged |
They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. <Ben Franklin>
|
|
|
towr
wu::riddles Moderator Uberpuzzler
Some people are average, some are just mean.
Gender:
Posts: 13730
|
|
Re: Mathematic problem
« Reply #3 on: Dec 5th, 2002, 8:07am » |
Quote Modify
|
every intermediate number has to be a multiple of three, and divisible by 4 after you remove 1.. so if you only had to do it once, 1 would work for twice 13 (goes to 9 goes to 6) (meh, screw it, I'll go program something to solve it ) 3: 61 45 33 24 4: 253 189 141 105 78 5: 1021 765 573 429 321 240 I'm sensing a pattern here.. The last number is the previous last number times 3 + 6 .. Which is good enough to find the final answer (but then, where's the proof of correctness) 6: 4093 3069 2301 1725 1293 969 726 heh, of course the first number of each sequence is 22*n-3, much more usefull.. so the answer is 'just' 16381 if you take (3/4)7 you get 2187/16384 if you subtract 3 from the denominator you get the number you started out with, subtract 3 from the numerator and it's the number you're left with.. (and that's not just true for n=7, but also all former..and I'd guess all following)
|
« Last Edit: Dec 5th, 2002, 8:45am by towr » |
IP Logged |
Wikipedia, Google, Mathworld, Integer sequence DB
|
|
|
towr
wu::riddles Moderator Uberpuzzler
Some people are average, some are just mean.
Gender:
Posts: 13730
|
|
Re: Mathematic problem
« Reply #4 on: Dec 5th, 2002, 9:11am » |
Quote Modify
|
It seems that for any natural number sequence xi with 0<= i <=n for which (xj-1 -1)*a/(a+1)=xj (where a is also a natural number) the lowest you can get is: x0 = (a+1)n-a and xn = an-a
|
|
IP Logged |
Wikipedia, Google, Mathworld, Integer sequence DB
|
|
|
James Fingas
Uberpuzzler
Gender:
Posts: 949
|
|
Re: Mathematic problem
« Reply #5 on: Dec 5th, 2002, 9:20am » |
Quote Modify
|
Speaker, I don't think that even the Republican party can drink 100 trillion beers.
|
|
IP Logged |
Doc, I'm addicted to advice! What should I do?
|
|
|
|