# 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.

Asked: **
2013-01-13 03:01:11 -0500
**

Seen: **571 times**

Last updated: **Jan 13 '13**

How do I get an ordered list of a symbolic functions arguments?

Replace a variable with a function

Declare variable as function output [closed]

Define vector valued function of a vector of symbolic variables?

Is there a simple way to deal with computing real nth roots for n a natural number?

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.