Problem 2022. Find a Pythagorean triple
Solution Stats
Problem Comments
-
7 Comments
Show
4 older comments
Jean-Marie Sainthillier
on 13 Dec 2013
See Problem 1550 Can I make a right triangle ?
Justin Illingworth
on 22 Oct 2019
Thanks Tanya, have enjoyed these.
George Iskander
on 18 Feb 2020
if (a==2|a==3)
flag=true;
end
The cases are very limited to make such a code valid
Lkhagvasuren Byambadorj
on 27 Oct 2020
Thanks, enjoyed these.
Parry
on 11 Dec 2022
I really liked this problem!
Minh Lan
on 20 Feb 2023
niceee
sp00kyraBBit
on 19 Mar 2023
brainstormed
Solution Comments
Show commentsProblem Recent Solvers3937
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2632 Solvers
-
Back to basics 12 - Input Arguments
573 Solvers
-
Generate N equally spaced intervals between -L and L
813 Solvers
-
635 Solvers
-
Integer Sequence - II : New Fibonacci
428 Solvers
More from this Author10
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!