# Lowest number challenge scheme

Suppose Alice knows a secret number $a$, and Bob knows a secret number $b$.

Is there a simple way for Alice and Bob to know who has the lowest number, without Alice & Bob exchanging their numbers ?

-
This is Yao's Millionaires' Problem: en.wikipedia.org/wiki/Yao's_Millionaires'_Problem –  Seth Jul 21 '14 at 21:27
@Seth : $\;\;\;$ It's at least approximately that problem. $\:$ If ties are supposed to be broken at random, $\hspace{.41 in}$ then this question's problem may be more difficult. $\;\;\;\;\;\;\;$ –  Ricky Demer Jul 21 '14 at 22:00
@RickyDemer In that case a tie could be broken with Blum's "coin-flipping by telephone". –  fkraiem Jul 22 '14 at 9:46
@fkraiem remember though, you would have to always run the coin-flip (whether there was a tie or not), otherwise you leak whether or not there was a tie. My point is, things can get complicated. –  mikeazo Jul 22 '14 at 12:56
@fkraiem : $\;\;\;$ How would that work? $\:$ Any use of that paper that I can think of would leak $\hspace{.83 in}$ which side a tie would have been broken in favor of. $\;\;\;\;\;\;\;$ –  Ricky Demer Jul 22 '14 at 17:20
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.7022254467010498, "perplexity": 1061.716792243392}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2015-40/segments/1443737935292.75/warc/CC-MAIN-20151001221855-00130-ip-10-137-6-227.ec2.internal.warc.gz"}