login
A382170
a(0) = 0; for n >= 1, one-eighth of the number of points on the elliptic curve y^2 = x^3 - x defined over GF(5^n).
2
0, 1, 4, 13, 80, 401, 1924, 9773, 48960, 243841, 1220644, 6105133, 30514640, 152585681, 762958564, 3814670093, 19073445120, 95367649921, 476836927684, 2384185160653, 11920931368400, 59604643100561, 298023215160004, 1490116145192813, 7450580588892480, 37252902871641601, 186264515189207524
OFFSET
0,3
COMMENTS
A divisibility sequence by construction: a(n) divides a(m) if n divides m.
FORMULA
a(n) = (5^n + 1 - (-1+2*i)^n - (-1-2*i)^n)/8, i = sqrt(-1).
G.f.: (1/(1-5*x) + 1/(1-x) - (2+2*x)/(1+2*x+5*x^2))/8.
E.g.f.: (exp(5*x) + exp(x) - 2*exp(-x)*cos(2*x))/8.
EXAMPLE
For n = 1, the points on y^2 = x^3 - x in GF(5) are the point of infinity, (-1,0), (0,0), (1,0), (2,+-1), and (-2,+-2), so a(1) = 8/8 = 1. This implies that the number of points in GF(5^n) is 5^n + 1 - alpha^n - beta^n, where alpha + beta = 5+1-8 = -2 and alpha*beta = 5.
MATHEMATICA
A382170[n_] := (5^n + 1 - (2*I-1)^n - (-1-2*I)^n)/8; Array[A382170, 30, 0] (* or *)
LinearRecurrence[{4, 2, 20, -25}, {0, 1, 4, 13}, 30] (* Paolo Xausa, Jan 22 2026 *)
PROG
(PARI) a(n) = (5^n + 1 - (-1+2*I)^n - (-1-2*I)^n)/8
CROSSREFS
Cf. A382171 (in GF(3^n)).
Sequence in context: A140417 A301396 A221512 * A061143 A354152 A354409
KEYWORD
nonn,easy
AUTHOR
Jianing Song, Mar 17 2025
STATUS
approved