Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Tangentially, this is directly related to the article, as x*sin(x) is the x-component of plotting (x,x) in polar coordinates: with more precision (with x a real), you'd obtain a single spiral, but with integers where 2pi≈6, they appear as six.

Plotting primes p like this is plotting p*e^(ip), but the spirals are an interesting observation. You can straighten them out by adding a pi factor to the polar coordinate (so iside the sin...) but that's less interesting.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: