Loading video...

Video Failed to Load

Go Home

Here's some accidental mathematical art in Excel. Each cell is a²b-b mod c where b is the column, c is the row, and a varies from 1 to 30. I put a heat map on the cells (small=red, big=green) and noticed the beautiful patterns.

92,448 views • 2 years ago •via X (Twitter)

8 Comments

Owen Maresh's profile picture
Owen Maresh2 years ago

those moire patterns seem to be fragments of fourier transforms which are (more than merely surgically related), and are also produced in some cases when complex functions are plotted at too low a resolution

Justin M Tarquin's profile picture
Justin M Tarquin2 years ago

Try this: for every cell (x,y), color it blue if and only if its image under 30 degree rotation around the origin is within 0.2 of a grid point (integer coordinates). It’s beautiful and unexpected, like a mathematical Persian carpet.

Areter(找工作版)'s profile picture
Areter(找工作版)2 years ago

I plotted the equation on a larger scale with c,b∈[0,1000] and a ∈ [2,30]. Without any proof, it graphically have 3-period fixed points, which is a flag for chaotic behavior. It also demonstrates SDIC properties and seems to have a dense orbit on the natural numbers.

Simon Pepin Lehalleur's profile picture
Simon Pepin Lehalleur2 years ago

Is there something special about numbers of the form a^2-1 for this? What about just ab mod c?

EmacsTheViking's profile picture
EmacsTheViking2 years ago

This feels very Wolfram automata!

Rebecca Lomshek's profile picture
Rebecca Lomshek2 years ago

Lovely!

Sam Kolins's profile picture
Sam Kolins2 years ago

there's probably a good gateway to analytic number theory through studying why these patterns exist

Aziz Poonawalla's profile picture
Aziz Poonawalla2 years ago

how are you getting it to change over time though? please share more details!

Related Videos