Description Usage Arguments Details Value Source Examples
Generate Pythagorean triples using Euclid's formula
1 | euclid(m, n, k = 1)
|
m, n |
Positive integers where m > n > 0 |
k |
A multiplier |
From the fact that for positive integers m and n, m > n, the a, b, and c given by the formula are all positive integers
A list containing a, b, and c
https://en.wikipedia.org/wiki/Pythagorean_triple#Generating_a_triple
1 | euler:::euclid(2, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.