Documentation

Sequencelib.Pascal

def PascalTriangle (n k : ℕ) :

Pascal triangle:

$$ \text{Pascal}(n, k) = {n \choose k}. $$

Equations
Instances For
    def Pascal (n : ℕ) :

    Pascal triangle defined from the binomial coefficient.

    Equations
    Instances For

      OEIS sequence offset

      Equations
      Instances For

        OEIS Identifier

        Equations
        Instances For
          theorem Pascal_zero :
          Pascal 0 = 1

          (Auto-generated theorem for Pascal)

          theorem Pascal_one :
          Pascal 1 = 1

          (Auto-generated theorem for Pascal)

          theorem Pascal_two :
          Pascal 2 = 1

          (Auto-generated theorem for Pascal)

          theorem Pascal_three :
          Pascal 3 = 1

          (Auto-generated theorem for Pascal)

          theorem Pascal_four :
          Pascal 4 = 2

          (Auto-generated theorem for Pascal)

          theorem Pascal_five :
          Pascal 5 = 1

          (Auto-generated theorem for Pascal)

          theorem Pascal_six :
          Pascal 6 = 1

          (Auto-generated theorem for Pascal)

          theorem Pascal_seven :
          Pascal 7 = 3

          (Auto-generated theorem for Pascal)

          theorem Pascal_eight :
          Pascal 8 = 3

          (Auto-generated theorem for Pascal)

          theorem Pascal_nine :
          Pascal 9 = 1

          (Auto-generated theorem for Pascal)

          theorem Pascal_ten :
          Pascal 10 = 1

          (Auto-generated theorem for Pascal)

          theorem Pascal_eleven :
          Pascal 11 = 4

          (Auto-generated theorem for Pascal)

          theorem Pascal_twelve :
          Pascal 12 = 6

          (Auto-generated theorem for Pascal)

          theorem Pascal_thirteen :
          Pascal 13 = 4

          (Auto-generated theorem for Pascal)

          theorem Pascal_fourteen :
          Pascal 14 = 1

          (Auto-generated theorem for Pascal)

          theorem Pascal_fifteen :
          Pascal 15 = 1

          (Auto-generated theorem for Pascal)

          theorem Pascal_sixteen :
          Pascal 16 = 5

          (Auto-generated theorem for Pascal)

          theorem Pascal_seventeen :
          Pascal 17 = 10

          (Auto-generated theorem for Pascal)

          theorem Pascal_eighteen :
          Pascal 18 = 10

          (Auto-generated theorem for Pascal)

          theorem Pascal_nineteen :
          Pascal 19 = 5

          (Auto-generated theorem for Pascal)

          theorem Pascal_twenty :
          Pascal 20 = 1

          (Auto-generated theorem for Pascal)

          def Pascal₂ (n : ℕ) :

          Pascal triangle as a translation from the Python code in the OEIS entry.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            OEIS sequence offset

            Equations
            Instances For

              OEIS Identifier

              Equations
              Instances For