This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A362198 #23 Jul 23 2023 13:42:26 %S A362198 35,63,129,207,401,513,765,897,1193,1683,1861,2425,2821,3031,3461, %T A362198 4139,4861,5109,5877,6409,6683,7521,8099,8987,10223,10865,11185,11839, %U A362198 12173,12849,15301,16031,17143,17519,19441,19833,21027,22239,23065,24317,25589,26019,28203,28647,29545,29993 %N A362198 a(n) = number of isogeny classes of abelian surfaces over the finite field of order prime(n). %C A362198 Two abelian varieties over a finite field are isogenous if and only if their Hasse-Weil zeta functions coincide. %C A362198 Thus a(n) is the number of degree 4 integer polynomials with leading coefficient prime(n)^2, whose (complex) roots all have absolute value 1/sqrt(prime(n)). %H A362198 Robin Visser, <a href="/A362198/b362198.txt">Table of n, a(n) for n = 1..1000</a> %H A362198 S. A. DiPippo and E. W. Howe, <a href="https://arxiv.org/abs/math/9803097">Real polynomials with all roots on the unit circle and abelian varieties over finite fields</a>, arXiv:math/9803097 [math.NT], 1998-2000. %H A362198 T. Dupuy, K. Kedlaya, D. Roe, and C. Vincent, <a href="https://arxiv.org/abs/2003.05380">Isogeny Classes of Abelian Varieties over Finite Fields in the LMFDB</a>, arXiv:2003.05380 [math.NT], 2020. %H A362198 D. W. Farmer, S. Koutsoliotas, and S. Lemurell, <a href="https://doi.org/10.1016/j.jnt.2018.01.019">Varieties via their L-functions</a>, J. Number Theory 196 (2019), 364-380. %H A362198 LMFDB, <a href="https://www.lmfdb.org/Variety/Abelian/Fq/?search_type=Counts">Abelian variety count results</a>. %H A362198 W. C. Waterhouse, <a href="https://doi.org/10.24033/asens.1183">Abelian varieties over finite fields</a>, Ann. Sci. École Norm. Sup. (4) 2 (1969), 521-560. %F A362198 a(n) ~ (32/3) * prime(n)^(3/2). %e A362198 For n = 1, the a(1) = 35 possible isogeny classes correspond to the following 35 possible Hasse-Weil zeta functions of abelian surfaces over F_2: 4x^4 - 8x^3 + 8x^2 - 4x + 1, 4x^4 - 6x^3 + 5x^2 - 3x + 1, 4x^4 - 6x^3 + 6x^2 - 3x + 1, 4x^4 - 4x^3 + 2x^2 - 2x + 1, 4x^4 - 4x^3 + 3x^2 - 2x + 1, 4x^4 - 4x^3 + 4x^2 - 2x + 1, 4x^4 - 4x^3 + 5x^2 - 2x + 1, 4x^4 - 2x^3 - x^2 - x + 1, 4x^4 - 2x^3 - x + 1, 4x^4 - 2x^3 + x^2 - x + 1, 4x^4 - 2x^3 + 2x^2 - x + 1, 4x^4 - 2x^3 + 3x^2 - x + 1, 4x^4 - 2x^3 + 4x^2 - x + 1, 4x^4 - 4x^2 + 1, 4x^4 - 3x^2 + 1, 4x^4 - 2x^2 + 1, 4x^4 - x^2 + 1, 4x^4 + 1, 4x^4 + x^2 + 1, 4x^4 + 2x^2 + 1, 4x^4 + 3x^2 + 1, 4x^4 + 4x^2 + 1, 4x^4 + 2x^3 - x^2 + x + 1, 4x^4 + 2x^3 + x + 1, 4x^4 + 2x^3 + x^2 + x + 1, 4x^4 + 2x^3 + 2x^2 + x + 1, 4x^4 + 2x^3 + 3x^2 + x + 1, 4x^4 + 2x^3 + 4x^2 + x + 1, 4x^4 + 4x^3 + 2x^2 + 2x + 1, 4x^4 + 4x^3 + 3x^2 + 2x + 1, 4x^4 + 4x^3 + 4x^2 + 2x + 1, 4x^4 + 4x^3 + 5x^2 + 2x + 1, 4x^4 + 6x^3 + 5x^2 + 3x + 1, 4x^4 + 6x^3 + 6x^2 + 3x + 1, 4x^4 + 8x^3 + 8x^2 + 4x + 1. %o A362198 (Sage) %o A362198 from sage.rings.polynomial.weil.weil_polynomials import WeilPolynomials %o A362198 def a(n): %o A362198 p = Primes()[n-1] %o A362198 return len(list(WeilPolynomials(4,p))) %o A362198 (Sage) %o A362198 def a(n): %o A362198 R.<x> = PolynomialRing(CC) %o A362198 num_solutions = 0 %o A362198 p = Primes()[n-1] %o A362198 for Cp in range(ceil(p+1-4*sqrt(p)), floor(p+1+4*sqrt(p))+1): %o A362198 for Cp2 in range(ceil(p^2+1-4*p), floor(p^2+1+4*p)+1): %o A362198 a2 = (Cp^2 + Cp2 + 2*p*(1-Cp) - 2*Cp) %o A362198 if a2%2 != 0: %o A362198 continue %o A362198 L_poly = 1 + (Cp-p-1)*x + a2/2*x^2 + p*(Cp-p-1)*x^3 + p^2*x^4 %o A362198 for r in L_poly.roots(): %o A362198 if (abs(abs(r[0]) - 1/sqrt(p)) > 1e-12): %o A362198 break %o A362198 else: %o A362198 num_solutions += 1 %o A362198 return num_solutions %Y A362198 Cf. A362201, A362570. %K A362198 nonn %O A362198 1,1 %A A362198 _Robin Visser_, Apr 10 2023