Documentation

Sequencelib.PowersOfPrimes

Powers of Primes #

This file introduces the powers of primes integer sequence, 1, 2, 3, 4, 5, 7, 8, 9, ... This is sequence A000961, a core sequence in the OEIS.

Implementation notes #

The sequence is defined using the IsPrimePow predicate from Mathlib.

Main results #

noncomputable def Sequence.PowersOfPrimes :
ℕ → ℕ

The sequence of prime powers, including 1 (i.e., PowersOfPrimes 1 = 1).

Equations
Instances For

    OEIS Identifier

    Equations
    Instances For

      OEIS sequence offset

      Equations
      Instances For