From 19ec048d72eb5bc30d64a7325cf5d68c6b802aef Mon Sep 17 00:00:00 2001 From: Dongho Kim Date: Sun, 7 Dec 2025 14:24:52 +0100 Subject: [PATCH] update pigeonhole --- .../__pycache__/security.cpython-312.pyc | Bin 808 -> 1143 bytes app/security/security.py | 6 + app/templates/pigeonhole.html | 173 ++++++++++++++++++ 3 files changed, 179 insertions(+) create mode 100644 app/templates/pigeonhole.html diff --git a/app/security/__pycache__/security.cpython-312.pyc b/app/security/__pycache__/security.cpython-312.pyc index 1190b53c0bb9f58adaa80c5e4620f07e46cc91ea..478ebf91b7d38aad5160471364cf6fe85fab1e59 100644 GIT binary patch delta 391 zcmZ3%_ML<8G%qg~0}w2%G0iMun#d=?xM8At?Zg6cMefy%APEMB6wXwpG^P}u7M9fz z0fs2fN?uLAjVpv0rB*T(aRNne352BP7UU$Bqz0uH7v$#^r>>lQg)xXxWU@MwgGv>* zenDn>YJOfueoksK)L5`tEI_guh(B9Qwq?|=U&FMT2`tVK%&?ZZoKch6uZka`RWG9? zH%F7Hh#RP;hz~>vfCwQVQ4BIwp-31=-jYY?h%YG0%uCKJ$VrVa&def|XZZQAE T0F?X8%)q4b5u~a}2B-}HhIn1Z delta 114 zcmey)v4V~7G%qg~0}wcG(#_n=IFV0+v1X!rElVZ0CeOw@LX3=>lixE+07(v}AV#6d z(M%4^ewv(<` +
+

Pigeonhole Principle Simulation

+

+ If we place 5 dots in a square of side length $s$, there must be at least two dots whose distance $d$ + satisfies: + $$ d < \frac{s}{\sqrt{2}} $$

+

+ (The user requested condition: "distance is smaller than square root of square ($s^2$)", which means + $d < \sqrt{s^2}=s$. Since $\frac{s}{\sqrt{2}} \approx 0.707 s < s$, the condition is always met if + the stronger Pigeonhole Principle holds.)

+ +
+ +
+
+ +
+
+ + +
+
+
+ +{% endblock %} + +{% block js %} + + + + +{% endblock %} \ No newline at end of file