From 5f001c980582e4502c1f41e80f4f6fd0bf1a4470 Mon Sep 17 00:00:00 2001 From: David Lowry-Duda Date: Fri, 10 May 2024 17:56:16 -0400 Subject: [PATCH] Ensure a(1) = 1, no extra digits --- lmfdb/maass_forms/web_maassform.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lmfdb/maass_forms/web_maassform.py b/lmfdb/maass_forms/web_maassform.py index ed98d13975..ae4660f9a0 100644 --- a/lmfdb/maass_forms/web_maassform.py +++ b/lmfdb/maass_forms/web_maassform.py @@ -277,8 +277,13 @@ def coefficient_table(self, rows=20, cols=3, row_opts=[20,60,334]): for j in range(cols): if i * cols + j >= n: break + m = i * cols + j + 1 + if m == 1: + table.append( + td_wrapl(rf"\(a_{{{m}}}= +1 \)") + ) + continue if has_finite_rational_coeffs: - m = i * cols + j + 1 m_is_finite_rational = True f = factor(m) for p, e in f: