top of page
Search

Primative pythagorian triples

  • Writer: Christian Stoldal
    Christian Stoldal
  • Feb 16, 2021
  • 1 min read

A Pythagorean triple is any set of three integers such that a squared plus b squared is equal to c squared and a primitive Pythagorean triple is a where a, b, and c are all co-primes. For a homework assignment in one of my classes I need to calculate a large number of primitive Pythagorean triples so I wrote a simple script to do this, I published this to Github as I thought it might be beneficial for others. I have attached the link to my Github repo below





 
 
 

Comments


©2021 by Christian Stoldal.

bottom of page