HP Prime for All

English  Русский 

Syntax

gcd(Poly1, Poly2)

Description

Returns the greatest common divisor of 2 polynomials of several variables. Can also be used as integer gcd.

Example

gcd(x^2-4,x^2-5*x+6) returns x-2 gcd(45,30) returns 15

gcd — Discussion