Support mathematical research and open-source development
bc1qtsuj9x372slcgead3tlnrpw0r6tu7y7y0xwuk4
Thank you for supporting open mathematical tools!
Enhanced Modular Lifting Rings
Visualize how numbers behave under modular arithmetic through concentric rings. Each ring represents a different modulus, with points colored by their relationships (coprime, composite, zero divisors). Watch patterns emerge as you explore different modular structures—from simple powers to prime sequences. Rotate, zoom, and inspect the deep patterns that connect number theory to geometry.
QUICK RANGE PRESETS
Core Settings
QUICK POWER FAMILIES
Visual Controls
X Tilt 30°
Y Rotate 0°
Z Spin 0°
Farey Chains Level Labels
Projection Lines Channel Rings
Projection Opacity 0.5
Table Type
Color Scheme
Labels
Highlight Symmetry Highlight Diagonal
Inspect Element
Presets
Display Settings+
Ring SpacingInvert (outer→inner)
Color Scheme
Zoom
×
Rotation
°
Point Size 0.2
Auto
Canvas Size
Label Size 9px
Sweep & Ray Overlays+
Light Rays Sector Bounds Mediant Lines
Ray Opacity 0.3
Ray Mode
Analysis Tools
Farey Sector Analysis+
Novel Framework (Getachew, 2025): While Farey sequences F_n and Stern-Brocot trees are classical, the circular sector organization mapping fractions p/q to angles θ=2πp/q and analyzing coprime density per sector S_n=(1/(n+1),1/n) is new. The asymptotic formula C(n,N)≈3N²/(π²·n(n+1)) for sector counts appears to be original.
Sector Boundaries
From 1/to 1/(120° – 180°)
Highlight Sector Show All 1/n Lines Consecutive Only
Coprime (GCD=1) Non-coprime Unit Circle Efficient Mode (Fast rendering)
Sector View (Efficient Mode):
Efficient Mode uses Farey formula to rapidly sample coprime points in selected sector. Sector 0 shows entire range with all rings.
Non-GCD Opacity 0.4
Labels
Label Which
Stats Font Size 0.85rem
Advanced Options
Smith Chart Transform+
Enable Smith Chart
Phase α 90°
Zoom 1.0×
Auto-Rotate:
Speed
Zoom:
Offset X 0
Offset Y 0
Invert Reflect Grid Const-R Const-X Lifts Gaps Unit Circle
Point Scale 1.0
Line Width 1
Presets:
Smith Chart: OFF
Animation+
Speed 1.0
Variable Ring Speeds
Prime Sieve Analysis+
Range Start
to
Residue Tracker+
Enable Tracker
Track Mode
Track Residues
Track Residue r 1
Filter by Modulus
Tracker Color
Tracker Size 8
Show Labels Glow Effect Connect Across Rings
Label Position
Quick Track
Tracked Residues Info
Trajectory Coherence Analysis?
Residue Range
r = 1 to
Color By
Point Size By
Highlight (p-1) Highlight Primes Labels Top 20 Coherent
Filter: Drift Range
to
Filter: Type
Screenshot Options — Select Elements to Include
CANVASES
Main Canvas Canvas Legend Stern-Brocot Tree Arnold Tongues Frequency Distribution
LIVE STATISTICS SECTIONS
Mode/Settings Header Primary Counts (φ, Total) Density Metrics Highlighted Sector Stern-Brocot Sectors Error Bounds Table Circle Halves (Real/Imag) Quadrant Distribution Modular Sieve Gap Pair Counts Ring φ(M) List
CANVAS LEGEND SECTIONS
Legend Title Coprime Markers Non-Coprime Markers Sector Highlight Farey Neighbors Harmonic Colors Current Settings Quick Stats
SELECTED POINT DETAILS
Basic Info (r, M, GCD) Harmonic Metrics Musical Interval Frequency & Cents Farey Neighbors
TREE & ANALYSIS
Tree Stats Tree Path Info Farey Neighbors List Farey Legend
No notes selected (enable Chord Mode, then click points)
Quick chords:
Harmonic Metrics
Harmonic color mode: Colors by denominator q — Unison (q=1) Consonant (q≤4) Complex (q≤8) Dissonant (q>16). Click any point to hear its frequency!
2D Modular Rings: θ = 2πr/M
2D Rings: Concentric rings showing residue classes mod M. Gold points = coprime residues (GCD=1). Each ring represents a modulus from min to max. Click any point to see details below.
Animating...
Selected Point Details
Live Statistics
Show: Mode Primary Density Highlight SB Sectors Error Table Circle Quadrant Sieve Gaps φ(M)
Stern-Brocot Tree (Sector)
Quick Mod:
Max Depth
Mod Range 12
Zoom 1.0×
Label Size 10px
Label Color
Format
Labels Edges Tongues
Canvas
Find Path:
/
Farey Neighbors (|ad-bc|=1)0 neighbors
Tree depth: 0 | Nodes: 0
Arnold Tongues (Phase-Locking Regions)
⚠️ Epistemic Status: Heuristic Analogy
This visualization uses dynamical system structures (Arnold tongues) as an analogy for rational enumeration in number theory. This is exploratory visualization for intuition, NOT a proven equivalence.
Useful for teaching and pattern exploration. Not useful for proving theorems.
Arnold Tongues show regions of phase-locking in dynamical systems. Each tongue corresponds to a rational rotation number p/q. The width of tongue p/q grows with coupling strength ε. Points inside tongue p/q exhibit periodic orbits with rotation number exactly p/q.
Size
View
Max q
ε Max
Color
Labels Grid Fill Show Path Edges
Sector
Play:
Speed
Tongues: 0 | Max q: 8
Frequency Ratio Distribution
Distribution of frequency ratios across all coprime points. X-axis: frequency ratio (relative to base). Y-axis: count. Peaks correspond to simple ratios (consonant intervals).
Bins
Log scale Show peaks
Points: 0 | Range: 0-0
Farey Neighbors in Sector (|ad-bc|=1)
Loading...
Residue Tracker Analysis
Enable Residue Tracker to see analysis
Trajectory Coherence Plot
Hover over points to see details
Coherence Statistics
Click "Compute Stats" to analyze trajectories
Drift Distribution Histogram
Twin-Prime Shell Comparison
Statistical comparison will appear here
Residue Data Table
r
Type
D(r)
L(r)
φ̄
Class
Phase Trajectory Detail
Click a point to see phase trajectory
Enhanced Lifting Rings Theory
θ = 2πr/M | Gap g: r₂ - r₁ ≡ g (mod M) with gcd(r₁,M) = gcd(r₂,M) = 1
Gap analysis reveals prime pair patterns: Gap 2 (Twin Primes), Gap 4 (Cousin Primes), Gap 6 (Sexy Primes). Coprime residue classes that differ by gap g correspond to admissible prime pair patterns. The φ(M) coprime classes form (ℤ/Mℤ)×, with structure revealed by direct lifts between moduli.
Multiplication Table — Ring Structure of Z/mZ (click to expand)
The Ring Z/mZ
For any positive integer m, the set Z/mZ = {0, 1, 2, ..., m-1} forms a commutative ring under addition and multiplication modulo m. The multiplication table visualizes this complete structure.
Units
Elements a where gcd(a,m)=1
Have multiplicative inverses
Count = φ(m)
Zero Divisors
Non-zero a where ab≡0 (mod m)
for some non-zero b
Count = m - φ(m) - 1
Idempotents
Elements where a²≡a (mod m)
Always include {0, 1}
Count = 2^ω(m)
Nilpotents
Elements where a^n≡0
Only exist when m has
repeated prime factors
Table Types
Multiplication (axb mod m): Full m×m table showing ring structure
Cayley Table (Units): Restricted to φ(m) invertible elements — the group (Z/mZ)×
Addition (a+b mod m): Always forms cyclic group of order m
Labels Grid Axes Unit Circle Coprime Only φ Ratio Sync Views
Canvas Size
Zoom1.0×
Phase0°
𝔻 Farey Unit Disk Explorer
Interactive Poincare Disk — Farey Fractions on Unit Circle
Farey points plotted on unit circle. Angular position: θ = 2π·(numerator/denominator). Colors by GCD value. Click points for details.
Total
0
points
COPRIME
0
0%
Max Q
—
denom
Min Q
—
denom
AVG Q
—
mean
Min P/Q
—
frac
Max P/Q
—
frac
Span
—
range
Max P
—
numerator
MEDIAN Q
—
50th %ile
σ STD DEV Q
—
variance
Q Range
—
max-min
NON-COPRIME
—
0%
FAREY DEPTH
—
F_n
Harmonic Analysis System — Complete Guide
Overview
The Enhanced Modular tool integrates music theory with number theory, revealing deep connections between Farey sequences, the Stern-Brocot tree, and musical consonance. Every coprime fraction p/q corresponds to a musical interval, and the tool provides comprehensive analysis including audio playback, consonance metrics, and chord building.
Audio Controls
Base Frequency: Reference pitch in Hz (default 440 = A4). All intervals calculated relative to this.
Volume: Master volume control (0-100%)
Duration: Note length from Short (0.15s) to 1 second
Waveform: Sine (pure), Triangle, Square, or Sawtooth oscillator
Interval Playback
Quick buttons for fundamental intervals:
Perfect Fifth (3:2): 702 cents — most consonant after unison/octave
Perfect Fourth (4:3): 498 cents — inversion of the fifth
Major Third (5:4): 386 cents — defines major tonality
Minor Third (6:5): 316 cents — defines minor tonality
Major Sixth (5:3): 884 cents — inversion of minor third
Octave (2:1): 1200 cents — same note, double frequency
Chord Builder
Build and play chords from selected fractions:
Chord Mode: Enable to add clicked points to chord instead of replacing selection
Play Chord: Play all selected notes simultaneously
Arpeggio: Play notes in sequence (lowest to highest)
Quick Chords: Preset major (4:5:6), minor (10:12:15), major 7th, power chord
Tip: In Chord Mode, click multiple coprime points on the canvas to build custom chords!
Consonance Metrics
For any selected fraction p/q, the tool calculates:
Cents
1200 × log₂(p/q) — standard musical measurement
Tenney Height
log₂(p) + log₂(q) — lower = simpler interval
Benedetti Height
p × q — multiplicative complexity (Benedetti, 1585)
The deep connection: when two frequencies f₁ and f₂ have ratio p/q (in lowest terms), their combined waveform repeats every q cycles of f₁ (or p cycles of f₂). Simple ratios create short, regular patterns — perceived as consonance. Complex ratios create long, irregular patterns — perceived as dissonance.
This is why the Farey sequence and Stern-Brocot tree — which organize rationals by simplicity — are fundamentally musical structures. The 6/π² coprime density means roughly 61% of random frequency pairs form "primitive" (irreducible) intervals.
Hardy Z-Function: Critical Line Explorer
⚠️ Epistemic Status: Proven* (RH caveat)
Hardy Z-function is mathematically proven. Its zeros correspond to Riemann zeros conditionally on RH being true. This tool visualizes known behavior, it does not prove RH.
Riemann-Siegel approximation with sign-change zero detection via bisection refinement. Compute Z(t) = ζ(1/2 + it) on the critical line and locate non-trivial zeros.
t Range Start
t Range End
Compute Points
Z(t) = Hardy Z-Function on s = 1/2 + it
Zero Crossings:
0
Max |Z(t)|:
—
Scan t Start
Scan t End
Scan Points
Non-Trivial Zeros on Critical Line
Ready to scan
t (Imaginary)
Z(t) Value
Known Zero?
Critical Line Spiral: Maps ζ(1/2 + it) in complex plane as t increases. The spiral passes through origin (0,0) exactly at non-trivial zeros of the Riemann zeta function.
This visualization requires additional coordinate transformation implementation.
Mathematical Theory
Modular Arithmetic Fundamentals
For integers a, b and modulus M > 0, we write a ≡ b (mod M) when M divides (a - b). The set of residue classes forms the ring ℤ/Mℤ.
Units: Elements with multiplicative inverses. The unit group (ℤ/Mℤ)× has order φ(M).
Coprime residues: r is coprime to M iff gcd(r, M) = 1 iff r is a unit.
Zero divisors: Non-zero elements a where ab ≡ 0 for some non-zero b. Only exist when M is composite.
Euler's Totient Function
φ(M) counts integers 1 ≤ r ≤ M with gcd(r, M) = 1.
φ(M) = M · ∏p|M (1 - 1/p)
The density of coprimes approaches 6/π² ≈ 0.6079 as M → ∞, connecting to the Riemann zeta function: 1/ζ(2) = 6/π².
Farey Sequences & Stern-Brocot Tree
The Farey sequence Fn consists of reduced fractions p/q with 0 ≤ p/q ≤ 1 and q ≤ n, arranged in order.
Mediant property: Between adjacent Farey fractions a/b and c/d, their mediant (a+c)/(b+d) appears in higher-order sequences.
Stern-Brocot tree: Binary tree generating all positive rationals exactly once via iterated mediants from 0/1 and 1/0.
Ford circles: Circle of radius 1/(2q²) tangent to the real axis at p/q. Adjacent Farey neighbors have tangent Ford circles.
Sector Counting Asymptotics
For the sector Sn = [1/(n+1), 1/n], the coprime count follows:
The error term is O(M log M / n²), giving excellent asymptotic predictions for coprime density in angular sectors.
Riemann Zeta & Critical Line Mapping
The Riemann Hypothesis states that all non-trivial zeros of ζ(s) lie on the critical line Re(s) = 1/2.
Critical Strip: The region 0 < Re(s) < 1 where non-trivial zeros are conjectured to exist.
Hardy Z-Function: Z(t) = χ(1/2 + it)·ζ(1/2 + it), a real-valued function with zeros at ζ zeros.
Zero Detection: Z(t) changes sign at each zero. Bisection refinement locates zeros to arbitrary precision.
Critical Line Spiral: As t increases, ζ(1/2 + it) traces a spiral in the complex plane passing through origin (0,0) at each zero.
Z(t) = 2·Σ(n=1 to m) cos(ϑ(t) - t·log(n))/√n
where m = √(t/2π) and ϑ(t) = Riemann-Siegel theta
Connection to Primes: The oscillations in Z(t) directly relate to prime distribution via the explicit formula. Zero spacing patterns are governed by GUE (Gaussian Unitary Ensemble) law from random matrix theory.
Functional Equation & Symmetry
The zeta function satisfies the functional equation:
ζ(s) = χ(s)·ζ(1-s)
where χ(s) = 2^s π^(s-1) sin(πs/2) Γ(1-s)
This symmetry about Re(s) = 1/2 is crucial. If ρ = 1/2 + it is a zero, then so is its conjugate 1/2 - it, creating paired oscillations.
Γ = (Z - Z₀)/(Z + Z₀)
Originally from RF engineering, it provides a powerful visualization where circles of constant resistance and reactance reveal modular structures geometrically.
Definition: For modulus m, the GCD map assigns each residue r ∈ {1,2,...,m} to angular position θr = 2πr/m on the unit circle, with color determined by gcd(r,m).
GCD Map: r ↦ (θ = 2πr/m, color(gcd(r,m)), size ∝ coprimality)
Unit Disk Visualization:
• Angular position: θ = 2π·(numerator/denominator)
• Color: Determined by gcd value with coprime highlighting
• Interactive: Click to inspect individual points
• Real-time stats: Total points, coprime count, density percentage
Core Theorems:
Coprime Density: For prime p, φ(p) = p-1, giving density (p-1)/p → 1. For composite m = p·q, φ(m) = φ(p)·φ(q) = (p-1)(q-1).
Sector Persistence: Prime residues p maintain constant phase mod any modulus. Composites destructively interfere on mod-1 revaluation channels.
Symmetry Group: The symmetry Aut(ℤ/mℤ) acts on the GCD map, preserving coprimality structure. For m = p^k, only unit-preserving automorphisms exist.
Farey Connection: Reduced residues {r : gcd(r,m)=1} form Farey neighbors. The mediant (r₁+r₂)/(m+m) ≡ (r₁+r₂)/2m determines adjacency structure.
Geometric Interpretation:
Farey Sector Analysis: Formula vs. Exact Computation
This advanced analysis tool computes exact coprime residue counts across all moduli and compares them against the asymptotic formula C(n,N) ≈ 3N²/(π² n(n+1)). Visualize Farey sectors on interactive modular rings to understand error behavior and sector density patterns.
Key Features
Exact Coprime Count: Computes exact residue counts for all moduli up to N using GCD-based enumeration
Formula Comparison: Compares exact values against asymptotic formula with error analysis
Error Analysis Charts: Dual charts showing absolute and relative error by sector, with exact vs. formula comparison
Detailed Statistics: Table with sector-by-sector breakdown including exact counts, estimates, and error metrics
Sector Explorer: Interactively select sectors to view distribution patterns of coprime pairs
High-Resolution Moduli: Supports N up to 500, revealing fractal-like Farey structures
How to Use
Set Maximum Modulus: Enter N (recommended range 50-300 for fast computation, up to 500 for detailed analysis)
Compute: Click "Compute & Visualize" to generate exact counts and analysis
Analyze Charts: View error patterns across sectors and compare formula accuracy
Explore Sectors: Use the sector selector to view individual sector patterns on the modular ring
Interpret Table: Review exact counts, formula estimates, absolute/relative errors by sector
The Formula
C(n, N) ≈ 3N² / (π² · n(n+1))
Interpretation: Predicts the number of coprime residue pairs (r,m) with gcd(r,m)=1 falling in the n-th Farey sector [1/(n+1), 1/n] for maximum modulus up to N. The formula provides an O(1) estimate avoiding the O(N² log N) cost of exact enumeration.
Research Applications
Asymptotic Analysis: Study how formula accuracy improves with N
Sector Density: Understand why smaller sectors (n=1,2,3) are much denser
Error Bounds: Analyze absolute and relative error scaling
Farey Properties: Explore structure of consecutive mediant fractions
Visualization Patterns: Observe fractal-like self-similar structure in Farey sectors
Computation Controls
Maximum Modulus N:
Formula Only Mode (for efficiency, N>20k recommended)Formula-Only Mode Active: Charts will show formula predictions
Canvas Color Mode:
Error Analysis: Formula vs. Exact Counts (Interactive)
Hover over data points to see exact values | Drag to zoom | Double-click to reset
Detailed Sector Comparison Table
Sector n
Exact Count
Formula Est.
Abs. Error
Rel. Error (%)
Visualization Options
Canvas Size
Show Sector Labels
View Sector n:(max: 20)
Blue dots represent coprime residues (r, m) in the selected sector.
Concentric rings represent increasing moduli; radial angles represent fractional position r/m.
Key Observations
Smaller sector indices (n=1, 2, 3) are much denser—the formula captures this well.
Relative error typically improves with larger N; for N > 100, most estimates are within 10%.
The formula provides a universal, O(1) prediction; computing exact counts requires O(N² log N).
Visualizing high ranges (N > 200) reveals the fractal-like structure of Farey sectors.
Reference & Credits
Mathematical Guarantees & Proof Status
This table indicates which components are proven mathematics versus exploratory/heuristic.
Component
What It Does
Status
Research Status
Modular Rings
Z/MZ structure, units
✅ Proven
Educational
Farey Sequences
Mediant enumeration
✅ Proven
Pedagogical
Stern-Brocot
Rational tree
✅ Proven
Pedagogical
Möbius Function
μ(n) definition
✅ Proven
Standard
Mertens Function
M(n) = Σμ(i)
✅ Proven
Standard
Zeta Product
ζ(s)^{−1} = Σμ(n)/n^s
✅ Proven
Standard
Hardy Z-Function
Z(t) visualization
✅ Proven*
Exploratory
Boundary Cancellation
Error oscillation visuals
⚠️ Experimental
Exploratory
Arnold Tongues
Dynamics ↔ NT mapping
⚠️ Heuristic
Exploratory
* Hardy Z status: Proven mathematics; RH status conditional; visualization is exploratory
What This Tool Does NOT Claim
❌ Proves the Riemann Hypothesis — RH remains unproven. Visualization is not proof.
❌ Establishes new bounds on zeta zeros — All bounds are known from existing literature.
❌ Gives new insights into prime distribution — Observations are consistent with known theory.
❌ Verifies unproven conjectures — Numerical verification is not mathematical proof.
❌ Establishes theorem-level results from patterns — Patterns suggest conjectures, not theorems.
Needham, T. — Visual Complex Analysis (Oxford, 1997)
Trott, M. — The Mathematica GuideBook for Symbolics (Springer, 2006)
Original Framework Contributions (Getachew, 2025):
GCD Mapping Framework: Modular coprimality geometry via angular residue placement
Unified Multi-Canvas Visualization: Synchronized controls for Farey disk, upper half-plane, Ford circles, and GCD mapping
Circular Sector Organization: Asymptotic formula C(n,N) ≈ 3N²/(π²·n(n+1)) for coprime density in sectors S_n = [1/(n+1), 1/n]
Hardy Z-Function Integration: Zero-detection and critical line visualization with multi-format export
Interactive Labeling Systems: 8 complementary mathematical lenses for single residue representation
Key Mathematical References
Ring Theory & Modular Arithmetic:
Dummit, D. S., & Foote, R. M. (2004). Abstract Algebra (3rd ed.). Wiley.
Hardy, G. H., & Wright, E. M. (1979). An Introduction to the Theory of Numbers (5th ed.). Oxford.
Farey Sequences & Stern-Brocot Trees:
Calkin, N., & Wilf, H. S. (2000). Recounting the rationals. AMM, 107(4), 360-363.
Graham, R. L., Knuth, D. E., & Patashnik, O. (1994). Concrete Mathematics (2nd ed.).
Möbius, Mertens, & Zeta Function:
Tenenbaum, G. (2015). Introduction to Analytic and Probabilistic Number Theory (3rd ed.). AMS.
Titchmarsh, E. C. (1951). The Theory of the Riemann Zeta-Function. Oxford University Press.
Hardy Z-Function & Critical Line:
Odlyzko, A. M. (1997). The 10^20-th zero of the Riemann zeta function and 70 million neighbors. AT&T Labs.
Experimental Mathematics:
Borwein, J. M., & Bailey, D. H. (2008). Mathematics by Experiment (2nd ed.). A K Peters.
Libraries Used
Plotly.js — Interactive charts and visualizations
html2canvas — Screenshot export functionality
Web Audio API — Harmonic sonification
Formal Abstract
index-zeta-enhanced: An Interactive Framework for Exploratory Computation in Analytic Number Theory
We present an open-source interactive computational environment for exploratory visualization of number-theoretic structures. The platform comprises six integrated tools for studying modular rings, Farey sequences, Stern-Brocot trees, Hardy Z-function, GCD mapping, and boundary cancellation error analysis. While no new theorems are proven, we demonstrate computational feasibility of interactive multi-dimensional error visualization and pattern discovery in cancellation structures. All computations are verified against known results.
To use visualizations in research papers or presentations:
Generate your visualization by setting parameters
Click Export button (PNG, SVG, or CSV)
Cite in your work: "Generated using index-zeta-enhanced [citation]"
Note in caption: "Computational exploration; see methods for interpretation"
The tool serves research as an exploratory platform. Visualizations are illustrations, not proofs.
This tool is open source. Contributions and feedback welcome!
"The integers are the perfect balance between chaos and order." — Paul Erdős
Boundary Cancellation Principle (Reference)
Core Result: For a k-dimensional lattice region with radius R and arithmetic filtering (coprimality, k-free integers, etc.):
N(R) = R^k / ζ(k) + O(R^(k-1))
Error exponent: (k-1)/k
Main term dominance: As R increases, error becomes relatively smaller
Geometric Interpretation: The error arises from the (k-1)-dimensional boundary of the k-dimensional region. The Möbius inversion filtering is incomplete at the truncation boundary, leaving a deterministic residue. This is not stochastic noise but a systematic geometric effect.
Dimensional Scaling: Higher dimensions have better relative error since the boundary surface area grows as O(R^(k-1)) while volume grows as O(R^k).
Structure Types: The principle applies to coprime pairs, k-free integers (squarefree, cubefree, etc.), and other multiplicatively filtered sets.
Möbius Function Role: The boundary effect arises from incomplete cancellation of the Möbius function at the truncation radius.
Riemann Connection: The structure of the error relates to oscillations of primes via the explicit formula, linking to Riemann zeta zeros.
Number Theory Computational Tools
Supporting calculations for research and verification:
GCD Calculator: Computes greatest common divisor using Euclidean algorithm. Verifies coprimality (gcd=1) and factors numbers.
Mobius Function μ(n): Returns -1 if n is product of odd number of distinct primes, +1 if even, 0 if n has squared prime factor. Critical for Möbius inversion formula.
Primality Test: Determines if integer is prime using trial division. Essential for factorization and distribution analysis.
Euler Totient φ(n): Counts integers 1 to n coprime to n. Given by formula φ(n) = n·∏(1-1/p) over primes p dividing n. Directly related to ζ(2) = π²/6 density constant.
Research Use: These tools enable rapid verification of theoretical predictions and numerical exploration of number-theoretic patterns underlying boundary cancellation.
Error Analysis via Visualization
Plotting Δ(R) versus R across dimensions k reveals scaling relationships.
Absolute error: Δ(R) = |N(R) - R^k/ζ(k)|
Relative error: δ(R) = Δ(R) / R^k
Multi-dimension comparison: k=2,3,4,5 on single chart
Visual Patterns: Linear curves on log-log scale indicate power law behavior. Comparing multiple dimensions shows how error exponent (k-1)/k improves with dimension. Relative error curves converge to zero, confirming asymptotic formula.
Mobius Wave and Cancellation Patterns
The Mertens function M(n) = Σ μ(d) from d=1 to n reveals cumulative Möbius cancellation.
M(n) = Σ(d=1 to n) μ(d)
Oscillation range: [min M, max M] shows cancellation amplitude
Cancellation ratio: M(n)/n approaches 0 as n grows (Riemann Hypothesis)
Significance: The oscillations of M(n) are intimately related to prime distribution. By the prime number theorem, M(n) = o(n), meaning it grows much slower than n. This is equivalent to the prime number theorem and related to RH.
Boundary Connection: The incomplete cancellation of μ at the truncation radius R directly causes the error term O(R^(k-1)) in the boundary formula.
Wave Intensity: Adjustable intensity parameter scales oscillations for better visualization of cancellation patterns.
Zero Properties: M(n) crosses zero infinitely often, but stays bounded (conjectured). Riemann Hypothesis equivalent: M(n) = O(n^(1/2+ε)).
Boundary Cancellation Principle
⚠️ EPISTEMIC STATUS: EXPERIMENTAL & EXPLORATORY
What we compute: Exact partial sums N_k(R) = Σ_{d≤R} μ(d) ⌊R/d⌋^k and error E_k(R) = N_k(R) − R^k/ζ(k)
What we observe: Error oscillations; correlations with Möbius wave; dimensional dependence. This is exploratory visualization of known mathematical structures.
What we do NOT claim:
✗ New theoretical bounds
✗ Theorems about error behavior
✗ Proofs of conjectures
Status: This is exploratory computation useful for pattern-finding and intuition-building. It is NOT a proof mechanism.
Use this tool for: visual exploration of error oscillation patterns, understanding Dirichlet convolution behavior across dimensions, generating conjectures for further theoretical research.
Fundamental Theorem
For a k-dimensional lattice region with radius R and Möbius-filtered arithmetic constraints (coprimality, k-free conditions, etc.):
Interpretation: The error is not analytic but geometric—it arises from boundary truncation effects in the Möbius inversion framework. As dimension increases, the boundary becomes relatively smaller, improving the relative error bound.