Riffs and Rotes are two species of graph-theoretic structure giving visual representation to the primes factorizations of integers, specifically looking at “doubly recursive factorizations”.
The Core Concept
When a number is broken down into its prime factors, those primes can themselves be broken down based on their index (e.g., the 2nd prime, the 3rd prime, etc.). By recursively expanding these prime indices, an integer can be completely represented as a nested tree or string of prime structural indicators.
These mathematical structures may be mapped into two types of visual diagrams:
- Riffs: A family of directed graphs (digraphs) that map out the recursive step-by-step structural relationships.
- Rotes: A corresponding family of undirected graphs that visualize the overall underlying network.
Example: The Number 2025
An example will serve to demonstrate how numbers translate to these forms:
- 2025 is factored traditionally as 81 × 25 = 3⁴ × 5².
- Because 3 is the prime (p₂) and 5 is the prime (p₃), this is rewritten using prime indices: p₂⁴ × p₃².
- The indices (2 and 3) are then recursively broken down into their own prime structures (e.g., 2 = p₁, ).
- By dropping terminal 1s, the number collapses into a pure, loss-less recursive form:
This exact string configuration generates a completely unique geometry — its corresponding Riff and Rote — giving every positive integer its own complex, visual “fingerprint”.
Reference
- The above text is adapted from the Google AI Overview for “Riffs and Rotes” (November 8, 2026).