# Algorithm for Grobner Basis

We can calculate Groebner Basis as follows: I want to know the corresponding algorithm. Is it F5?

```
sage : P.<x ,y> = PolynomialRing (GF(11) ,order =’lex ’)
sage : f1 = (x -1)^2 + (y -2)^2 - 3^2
sage : f2 = ( x +1)^2 + (y -1)^2 - 2^2
sage : I = Ideal ( f1 , f2 )
sage : I. groebner_basis ()
```

Specific algorithm can be requested via

`.groebner_basis(algorithm=...)`

.