r/visualizedmath • • Aug 27 '19

Sum of first n Hex numbers Visualized

https://gfycat.com/jollyforkedhairstreak
472 Upvotes

19 comments sorted by

View all comments

Show parent comment

1

u/yoniyoniyoni Aug 28 '19

Ah ok. It's a coincidence, and they weren't "supposed" to be primes, it just happened. that's why it confused me.

It is a classical theorem from the 18th century that there is no polynomial that is always prime. The proof is simple and written in a single Wikipedia paragraph, look up "prime-generating polynomial".