There is a 16-person committee that has to vote to approve a budget.
The members prefer to keep their votes anonymous. So they've adopted the following mathematical way to have every person vote Yes , vote No , or Abstain , while ensuring that all votes are kept secret.
We’ll call the chair and the other 15 members .
The chair takes a blank piece of paper, writes a large number, let's call it s , say , on it, and passes this to .
Then adds for Yes , for No , or for Abstain . writes this sum on a new piece of paper, hands the new number to , and returns the paper with 7923 written on it back to the chair.
now has a piece of paper with either (if voted Yes ), (if voted No ), or 7923 (if abstained ). Because does not know the original number , there is no way for to know how voted.
This process continues with adding for Yes , for No , or for an abstention , and then passing the result to .
They continue until gives a number to , who adds a number for ’s vote. Let’s say the final sum is 8050. The chair subtracts the secret number 7923 from 8050 and gets 127. Then since
the chair announces that 7 people voted Yes , 8 people voted No , and there was 1 abstention (since is one less than 16, one person must have abstained).
Let us say, "a triplet of non-negative integer works" , if this voting system works flawlessly for any integer with , and . For instance, works.
Find the minimum positive integer value of when and such that works.
Bonus: Generalize this for number of members in the committee.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The smallest value possible for p is 1 . It's easy to see this works, as A 1 subtracts the initial number to obtain x . Then subtracts 1 6 = # V y + # V n + # V a .
x − 1 6 = 8 0 0 ( # V n ) + 2 ( # V a ) which is easy to establish as # V a < 4 0 0 .
Generalising the value of p for q = 8 0 1 , r = 3 :
If m < 4 0 0 , p = 1 :
x − m = 8 0 0 ( # V n ) + 2 ( # V a ) , converting to base 8 0 0 and dividing the units by 2 gives the values of # V n and # V a .
# V y = m − ( # V n + # V a ) .
If 4 0 0 ≤ m < 7 9 9 , p = 2 :
x − 2 m = 7 9 9 ( # V n ) + ( # V a ) , converting to base 7 9 9 gives the values of # V n and # V a .
# V y = m − ( # V n + # V a ) .
If 7 9 9 ≤ m , p = 7 9 8 m + 4 :
x − 3 m = ( 7 9 8 m + 1 ) ( # V y ) + 7 9 8 ( # V n ) , converting to base 7 9 8 m + 1 and dividing the units by 7 9 8 gives the values of # V y and # V n .
# V a = m − ( # V y + # V n ) .