OFFSET
1,1
LINKS
Robin Visser, Table of n, a(n) for n = 1..2000
Max Deuring, Die Typen der Multiplikatorenringe elliptischer Funktionenkörper, Abh. Math. Sem. Hansischen Univ. 14 (1941), 197-272.
Gerard van der Geer et al., Tables of curves with many points
Gerard van der Geer and Marcel van der Vlugt, Tables of curves with many points, Math. Comp. 69 (2000) 797-810.
W. C. Waterhouse, Abelian varieties over finite fields, Ann Sci. E.N.S., (4) 2 (1969), 521-560.
FORMULA
a(n) = 3^n + 1 + floor(2*3^(n/2)) if 3 does not divide floor(2*3^(n/2)), n is even, or n = 1. Otherwise a(n) = 3^n + floor(2*3^(n/2)) [Deuring-Waterhouse]. - Robin Visser, Aug 17 2023
PROG
(Sage)
def a(n):
if (n==1) or (n%2 == 0) or (floor(2*3^(n/2))%3 != 0):
return 3^n + 1 + floor(2*3^(n/2))
else:
return 3^n + floor(2*3^(n/2)) # Robin Visser, Aug 17 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 05 2010
EXTENSIONS
More terms from Robin Visser, Aug 17 2023
STATUS
approved