# definition of gcd for(x,y)

I face gcd in Loops part and I just know that it is a function,but what kind of function?and how we can define it?Could you please help me about it.

definition of gcd for(x,y)

0

I'm not clear on exactly what your question is, but here is some information.

The syntax for `gcd`

is:

```
gcd(a,b)
```

You can get help on the `gcd`

command by typing `gcd?`

at the prompt. If you want to see the details of Sage's `gcd`

code, you can type `gcd??`

at the prompt.

Please start posting anonymously - your entry will be published after you log in or create a new account.

Asked: ** 2013-01-13 10:01:11 +0200 **

Seen: **2,349 times**

Last updated: **Jan 14 '13**

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.

I guess the context here is given by http://en.wikipedia.org/wiki/GCD_test. This is off-topic.