Introduction to Base-3 DNA Encoding

This manual describes the experimental ternary (base-3) encoding for the GitHub DNA Project, representing text as sequences of 0, 1, and 2.

Encoding Process

Text is converted to ternary by representing each ASCII character as a base-3 number.

Example: The letter "M" (ASCII 77) becomes 2212 in base-3.

Examples

Input: "Magnus"
Output: 2212 2112 2200 2210 2201 2220