$y^2=x^3+9x+17$ over $\mathbb{F}_{23}$, what is the discrete logarithm $k$ of $Q=(4,5)$ to the base $P=(16,5)$?
One (naïve) way to find k is to compute multiples of $P$ until $Q$ is found. The first few multiples of $P$ are:
$P=(16,5)$, $2P=(20,20)$, $3P=(14,14)$, $4P=(19,20)$, $5P=(13,10)$, $6P=(7,3)$, $7P=(8,7)$, $8P=(12,17)$, $9P=(4,5)$
Since $9P=(4,5)=Q$, the discrete logarithm of $Q$ to the base $P$ is $k=9$.
How do we get to these scalar multiples?
$P=(16,5),2P=(20,20),3P=(14,14),4P=(19,20),5P=(13,10), 6P=(7,3),7P=(8,7),8P=(12,17),9P=(4,5)$