We define an arbitrary way to "add" two points on a curve, called an ECC curve:
Then we cast the curve into the 'straight jacket' of modular arithmetic, such that the values of A, B, X, and Y will be mapped into a modular set: 0,1,2,.....(p1). We find some k points (X,Y) that satisfy the ECC equation, such that adding (in the ECC way) any two points yields another point from a kelements set. This defines: Q = nP, and n = log_{P}(Q). 
