<p>A <strong>square triple</strong><code>(a,b,c)</code> is a triple where <code>a</code>, <code>b</code>, and <code>c</code> are <strong>integers</strong> and <code>a<sup>2</sup> + b<sup>2</sup> = c<sup>2</sup></code>.</p>
<p>Given an integer <code>n</code>, return <em>the number of <strong>square triples</strong> such that </em><code>1 <= a, b, c <= n</code>.</p>