wiki_research

personal research wiki
git clone https://a3nm.net/git/wiki_research/
Log | Files | Refs

primitive_root (163B)


      1 # Primitive root
      2 
      3 Given a [word] v, returns the shortest [word] u such that v = u^k for some k
      4 
      5 Note that u is then a [primitive_word]
      6 
      7 Up: [operation] on [words]