Originally posted by XanthosNZof course it does.
Minimum number of employees is 5,137. Maximum number of employees with no prize exceeding $5000 is 91,606.
EDIT: For anyone who is interested I obtained my answers using a quickly written piece of code that searched for numbers that returned true to:
if (mod(n,41) == 12) & (mod(n,19) == 7) & (mod(n,37) == 31)
I'd be interested to see if a non-brute force solution exists given the one way nature of the modulus function.
Originally posted by aginiscall me crazy but....
A large company has an annual new year's lottery. Every employee puts in a dollar bill then every emploee picks a number from 1 to 100. If your number matches the randomly generated number, you win.
in the case of a tie the pot is split evenly and any remaining dollar bills go to charity.
Year 1: 41 people split the pot charity gets $12
Year 2: 19 peopl ...[text shortened]... maximum number of employees if no employee has reached the maximum allowable winnings of $5000?
Originally posted by uzlessif there are 26 employs how did 41 people split the pot in the first year? remember same number of employees means same pot size every year. (in the original version)
call me crazy but....
The min number of employees is 26 if in year 2 19 people shared 1 dollar each and the remaining $7 went to charity.
The max number would be 5000 if the max pot is $5000 since everyone can only put $1 dollar into the pot.
Originally posted by aginisSolutions to the original problem will be like this:
can you solve this one in your head?
Year 1: 41 people split the pot charity gets $40
Year 2: 19 people split the pot charity gets $18
year 3: 37 people split the pot charity gets $36
Year 1: 41 people split the pot THE REMAINING $12 GET ADDED TO NEXT YEARS POT
Year 2: 19 people split the pot ; $7 carries to year 3
year 3: 37 people ...[text shortened]... ions.
Describe all possible solutions to the original problem (computer can't help you here)