# Getting coefficients of Curve25519

I want to extract coefficient $A$ and $B$ from Curve25519 represented in Montgomery form as $B v^2 = u^3 + A u^2 + u$.

What are the $A$ and $B$ coefficients of Curve25519 in Montgomery form?

$B y^2 = x^3 +A x^2 + x$
$y^2 = x^3 + 486662x^2 + x \pmod {2^{255}-19}$
$A=486662$ and $B = 1$.