Skip to content

Instantly share code, notes, and snippets.

@grittyninja
Last active May 19, 2025 17:18
Show Gist options
  • Save grittyninja/56b6db7961369509a86e80de71fde254 to your computer and use it in GitHub Desktop.
Save grittyninja/56b6db7961369509a86e80de71fde254 to your computer and use it in GitHub Desktop.
puzzle: Five people live on five consecutive floors. The engineer lives three floors above the doctor. The teacher lives on an odd-numbered floor. The artist lives immediately above the lawyer. The lawyer doesn't live on the first floor. The artist lives on an even-numbered floor. Who lives on the second floor?
answer: Doctor
gcd(1984627, 1964681)
answer: 9973
10212111273rd prime number
answer: 257668725341
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment