# Fast Computation of the $N$th Term of an Algebraic Series over a Finite Prime Field

Abstract : We address the question of computing one selected term of an algebraic power series. In characteristic zero, the best algorithm currently known for computing the~$N$th coefficient of an algebraic series uses differential equations and has arithmetic complexity quasi-linear in~$\sqrt{N}$. We show that over a prime field of positive characteristic~$p$, the complexity can be lowered to~$O(\log N)$. The mathematical basis for this dramatic improvement is a classical theorem stating that a formal power series with coefficients in a finite field is algebraic if and only if the sequence of its coefficients can be generated by an automaton. We revisit and enhance two constructive proofs of this result for finite prime fields. The first proof uses Mahler equations, whose sizes appear to be prohibitively large. The second proof relies on diagonals of rational functions; we turn it into an efficient algorithm, of complexity linear in~$\log N$ and quasi-linear in~$p$.
Keywords :
Type de document :
Communication dans un congrès
ISSAC '16, Jul 2016, Waterloo, Ontario, Canada. Proceedings ISSAC'16, pp. 119–126, ACM Press, 2016. 2016, 〈http://www.issac-symposium.org/2016/〉. 〈10.1145/2930889.2930904〉
Domaine :

https://hal.inria.fr/hal-01389421
Contributeur : Philippe Dumas <>
Soumis le : vendredi 28 octobre 2016 - 13:55:40
Dernière modification le : mercredi 21 mars 2018 - 18:56:45

### Citation

Alin Bostan, Gilles Christol, Philippe Dumas. Fast Computation of the $N$th Term of an Algebraic Series over a Finite Prime Field. ISSAC '16, Jul 2016, Waterloo, Ontario, Canada. Proceedings ISSAC'16, pp. 119–126, ACM Press, 2016. 2016, 〈http://www.issac-symposium.org/2016/〉. 〈10.1145/2930889.2930904〉. 〈hal-01389421〉

### Métriques

Consultations de la notice