# Guessing a Number Using the Chinese Remainder Theorem

Guessing a Number Using the Chinese Remainder Theorem

Choose two moduli and using the controls and think of a secret number from 0 to -1. Use the controls to select =mod(x,) and =mod(x,) to reveal your number.

m

1

m

2

x

m

1

m

2

r

1

m

1

r

2

m

2