pell.pell

The Pell sequences, defined together in mutual recursion.

pell.xn

The Pell x sequence.

pell.yn

The Pell y sequence.

pell.pell_zd

The Pell sequence can also be viewed as an element of ℤ√d

pell.is_pell

The property of being a solution to the Pell equation, expressed as a property of elements of ℤ√d.