All C-values are of the form $4n-1.\quad$ Here is a simple BASIC program that I used to generate the C-values (in my other answer) that have $4$ matching primitive triples each. Sometimes there will be more than $4$ but those extras will be non-primitive. There will always be $2^{n-1}$ primitive triples for a C-value where $n$ is the number or prime factors of C. For instance, $1105=5\times13\times17$ so there are $2^2$ primitives. 100 print "input limit"; 110 input l1 120 for n1 = 1 to l1 130 c1=4*n1+1 140 m1=int((1+sqrt(2*c1-1))/2) 150 m2=int(sqrt(c1-1)) 160 c9=0 170 for m0=m1 to m2 180 k0=sqrt(c1-m0^2) 190 if k0=int(k0) 200 c9=c9+1 210 endif 220 next m0 230 if c9=4 240 print c1, 250 endif 310 next n1 Here is a sample run where $l1=3000$ 1105 1625 1885 2125 2405 2465 2665 3145 3445 3485 3625 3965 4225 4505 4625 4745 5125 5185 5365 5785 5945 6205 6305 6409 6565 6625 7085 7225 7345 7565 7585 7625 7685 8177 8245 8585 8845 8905 9061 9125 9265 9605 9685 9805 9945 10205 10585 10865 10985 11125 11245 11285 11645 11713 11765