I need to draw an elliptic curve over the final field F17 (in other words, I want to draw some specific points on the curve), but for some reason I do not understand.
The curve is determined by the equation:
y^2 = x^3 +x + 1 (mod 17)
I tried the path below, but it cannot work.
for x = 0:16, graph (x, mod (sqrt (x ^ 3 + x + 1), 16), 'r') ', end
Can anyone help?
[Update]
As suggested by Nathan and Bill, here is a slightly modified version.
x = 0:18 plot(mod(x,16), mod(sqrt(x.^3+x+1), 16),'ro')
However, I believe that the digit WRONG , for example, y is not an integer when x = 4.

source share