Documentation

Sequencelib.Parity

Parity Sequence #

This file introduces the parity sequence. It is a core sequence on the OEIS.

Implementation notes #

We implement the sequence definition using Nat.mod from Mathlib.

Main results #

The period 2 sequence; i.e., the sequence corresponding to the parity of n.

Equations
Instances For

    OEIS sequence offset

    Equations
    Instances For

      OEIS Identifier

      Equations
      Instances For