Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
3,519
reputation
1
6
10

Computer Graphics

crystal lattice

Chinese Remainder Theorem

$x=bm^2 + a(m+1)$ solves $x\equiv a \pmod m \land x\equiv b \pmod{m+1}$.
$x=2k^2(a+b) + k(a-b)$ solves $x\equiv a \pmod{2k-1} \land x\equiv b \pmod{2k+1}$.
$x=a(3k+r+3)((3-r)k+1)+b(3k+r)(rk+2r-1)$ solves $x\equiv a \pmod{3k+r} \land x\equiv b \pmod{3k+r+3}$.

Consider 3k+r, 3k+r+3 where r=1 or 2. Then:
(3k+r+3)((3-r)k+1) gives 50: 1mod7, 0mod10, and 33: 1mod8, 0mod11
(3k+r)(rk+2r-1) gives 21: 0mod7, 1mod10, and 56: 0mod8, 1mod11

0
answers
2
questions
~485
people reached

Top tags (4)

Score 0
Posts 1
Posts % 50
Score 0
Posts 1
Score 0
Posts 1
Score 0
Posts 1

Top posts (2) All Questions Answers | Votes Newest

Badges (17)

Gold

1

Rarest

Silver

6

Rarest

Bronze

10

Rarest