Vyxapedia

Element - Ǐ - Prime factorization

Characters: Ǐ


Description

prime factorization / append first element


Overloads

  • num - prime_factorization(a) (distinct prime factors)
  • str - a + a[0]
  • lst - a + [a[0]]

Examples

  • 45 Ǐ = ⟨3|5⟩
  • `abc` Ǐ = `abca`
  • ⟨1|2|3⟩ Ǐ = ⟨1|2|3|1⟩
  • ⟨⟩ Ǐ = ⟨⟩