test if any consecutive triplet can form the length of edges that combines as a Pythagorean.
this problem is so simple that i don’t even needs to provide answers here. just iterate all whole array