import math


def dickson_method(s, t):
    """
    Use Dickson's Method to generate x,y,z for Pythagorean triples r^2 = 2st then:
    x = r + s, y = r + t, z = r + s + t
    """
    r = 2 * (s * t)
    r = math.sqrt(r)
    x = r + s
    y = r + t
    z = r + s + t
    return x, y, z