pythagorean_triples(100, 200)
## [,1] [,2] [,3] [,4] [,5]
## [1,] 10 1 99 20 101
## [2,] 10 3 91 60 109
## [3,] 8 7 15 112 113
## [4,] 11 2 117 44 125
## [5,] 11 4 105 88 137
## [6,] 9 8 17 144 145
## [7,] 12 1 143 24 145
## [8,] 10 7 51 140 149
## [9,] 11 6 85 132 157
## [10,] 12 5 119 120 169
## [11,] 13 2 165 52 173
## [12,] 10 9 19 180 181
## [13,] 11 8 57 176 185
## [14,] 13 4 153 104 185
## [15,] 12 7 95 168 193
## [16,] 14 1 195 28 197
Run the code above in your browser using DataLab