how to generate elliptic curve from the following code as B is in hexadecimal form . the elliptic curve generated from the following code is which is not showing B in irreducible polynomial form.
Elliptic Curve defined by y^2 = x^3 + x^2 + 1 over Finite Field in a of size 3^151
F1.<x>=GF(3)[]
F.=GF(3^151,'a',modulus=x^151+2*x^2+1);F.modulus();F
A=1;A B=(0x1fc4865afe00a9216b0b5fd32c6300c4bed0707ae4072a03e55299f157b);B E = EllipticCurve(F, (0,A,0,0,B));E