The Gregory series, , is a slowly converging formula for found in the 1670s by James Gregory and Gottfried Wilhelm Leibniz, each working independently. It is obtained by substituting into the Leibniz series . The number near on the circle is the last term added.