mathspp
  • Blog
    • Pydon'ts
    • Problems
    • TIL
    • Twitter threads
  • Books
  • Talks
  • Trainings
    • Advanced iteration
    • Python for scripting and automation
    • Rust for Python developers
  • Courses
  • About
Link blog

Prime Grid

by Danny Duplex on 15-08-2025 23:08 (via)

In the author's words, “Prime Grid creates a simple, adjustable grid that plots prime numbers in a left-to-right, top-to-bottom layout. Use it to find interesting visual patterns, do some smart-person math stuff, or maybe find the secret code to the cosmos or whatever.”

What I found really cool about this very minimalistic grid is that I didn't expect any patterns to arise, but you can definitely see visual patterns when you play around with the grid dimensions. For example, if you set the grid to 205 x 209, what are those two wide empty spots along the main diagonal of the grid?! (I'm sure there is a good maths explanation, but it's not obvious to me what it is.)

Previous link Next link

Think of a number between 1 and 10. Multiply it by 9 and subtract 1. Now close your eyes. It got dark, didn't it?

mathspp
  • Blog
    • Pydon'ts
    • Problems
    • TIL
    • Twitter threads
  • Books
  • Talks
  • Trainings
    • Advanced iteration
    • Python for scripting and automation
    • Rust for Python developers
  • Courses
  • About