15 research outputs found

    New Cube Root Algorithm Based on Third Order Linear Recurrence Relation in Finite Field

    Get PDF
    In this paper, we present a new cube root algorithm in finite field Fq\mathbb{F}_{q} with qq a power of prime, which extends the Cipolla-Lehmer type algorithms \cite{Cip,Leh}. Our cube root method is inspired by the work of Müller \cite{Muller} on quadratic case. For given cubic residue c∈Fqc \in \mathbb{F}_{q} with q≡1(mod9)q \equiv 1 \pmod{9}, we show that there is an irreducible polynomial f(x)=x3−ax2+bx−1f(x)=x^{3}-ax^{2}+bx-1 with root α∈Fq3\alpha \in \mathbb{F}_{q^{3}} such that Tr(αq2+q−29)Tr(\alpha^{\frac{q^{2}+q-2}{9}}) is a cube root of cc. Consequently we find an efficient cube root algorithm based on third order linear recurrence sequence arising from f(x)f(x). Complexity estimation shows that our algorithm is better than previously proposed Cipolla-Lehmer type algorithms

    Trace Expression of r-th Root over Finite Field

    Get PDF
    Efficient computation of rr-th root in Fq\mathbb F_q has many applications in computational number theory and many other related areas. We present a new rr-th root formula which generalizes Müller\u27s result on square root, and which provides a possible improvement of the Cipolla-Lehmer algorithm for general case. More precisely, for given rr-th power c∈Fqc\in \mathbb F_q, we show that there exists α∈Fqr\alpha \in \mathbb F_{q^r} such that Tr(α(∑i=0r−1qi)−rr2)r=cTr\left(\alpha^\frac{(\sum_{i=0}^{r-1}q^i)-r}{r^2}\right)^r=c where Tr(α)=α+αq+αq2+⋯+αqr−1Tr(\alpha)=\alpha+\alpha^q+\alpha^{q^2}+\cdots +\alpha^{q^{r-1}} and α\alpha is a root of certain irreducible polynomial of degree rr over Fq\mathbb F_q

    Efficient implementation of the Hardy-Ramanujan-Rademacher formula

    Full text link
    We describe how the Hardy-Ramanujan-Rademacher formula can be implemented to allow the partition function p(n)p(n) to be computed with softly optimal complexity O(n1/2+o(1))O(n^{1/2+o(1)}) and very little overhead. A new implementation based on these techniques achieves speedups in excess of a factor 500 over previously published software and has been used by the author to calculate p(1019)p(10^{19}), an exponent twice as large as in previously reported computations. We also investigate performance for multi-evaluation of p(n)p(n), where our implementation of the Hardy-Ramanujan-Rademacher formula becomes superior to power series methods on far denser sets of indices than previous implementations. As an application, we determine over 22 billion new congruences for the partition function, extending Weaver's tabulation of 76,065 congruences.Comment: updated version containing an unconditional complexity proof; accepted for publication in LMS Journal of Computation and Mathematic

    On fast multiplication of a matrix by its transpose

    Get PDF
    We present a non-commutative algorithm for the multiplication of a 2x2-block-matrix by its transpose using 5 block products (3 recursive calls and 2 general products) over C or any finite field.We use geometric considerations on the space of bilinear forms describing 2x2 matrix products to obtain this algorithm and we show how to reduce the number of involved additions.The resulting algorithm for arbitrary dimensions is a reduction of multiplication of a matrix by its transpose to general matrix product, improving by a constant factor previously known reductions.Finally we propose schedules with low memory footprint that support a fast and memory efficient practical implementation over a finite field.To conclude, we show how to use our result in LDLT factorization.Comment: ISSAC 2020, Jul 2020, Kalamata, Greec

    On fast multiplication of a matrix by its transpose

    Get PDF
    We present a non-commutative algorithm for the multiplication of a block-matrix by its transpose over C or any finite field using 5 recursive products. We use geometric considerations on the space of bilinear forms describing 2×2 matrix products to obtain this algorithm and we show how to reduce the number of involved additions. The resulting algorithm for arbitrary dimensions is a reduction of multiplication of a matrix by its transpose to general matrix product, improving by a constant factor previously known reductions. Finally we propose space and time efficient schedules that enable us to provide fast practical implementations for higher-dimensional matrix products
    corecore