I've been reading about the elliptic curve used for key generation in bitcoin ie y^2 = x^3 + 7 (mod p) [I'm not sure how to do the congruence symbol]
To help me visualise whats going on I wrote a script to plot the values of y * y - (x * x * x + 7) (mod p) as colours (black = 0).
This is the result where p = 5
The plot is NOT symmetrical about y=p/2 but when I mark the integer values of x and y (the red dots) which yield a zero solution the result IS symmetrical (for all values of p)
Is there a neat mathematical reason for this?
