> | gcd(45, 63); |
(1) |
> | gcd(1234578878, 1299998094); |
(2) |
> | [seq(i, i=0..12-1)]; |
(3) |
> | map(x->[x,gcd(x,25)],[seq(i, i=0..25-1)]); |
(4) |
> | 3^7; |
(5) |
> | % mod 8; |
(6) |
> | with(numtheory): |
> | phi(1234); |
(7) |
> | gcd(3,1234); |
(8) |
> | 3^phi(1234) mod 1234; |
(9) |
> | 12^phi(1234) mod 1234; |
(10) |
> | gcd(12,1234); |
(11) |
> | gcd(99,1234); |
(12) |
> | 99^phi(1234) mod 1234; |
(13) |
> |