Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Is this FFT algorithm known?

Theoretical computer science

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

Recently I've been thinking about alternatives to the usual Cooley-Tukey FFT for multiplying polynomials. I think I've come up with a pretty nifty algorithm for multiplying polynomials. So my question is, does anyone know if this FFT algorithm has name? Or is it new algorithm?

My algorithm calculates the product of two polynomials PPP and QQQ mod  xn−ω\mod x^n - \omegamodxn−ω in O(nlog⁡n)O(n \log n)O(nlogn) time, assuming nnn is a power of two, and ω\omegaω is a non-zero complex number.

Part 1. Main idea:

Suppose you know some polynomial Pmod   (x2n−ω)P \mod \, (x^{2n} - \omega)Pmod(x2n−ω), where nnn is a non-negative integer, and ω\omegaω is a complex number. Let P1=Pmod  (xn+ω)P_1 = P \mod (x^n + \sqrt{\omega})P1​=Pmod(xn+ω​) and P2=Pmod  (xn−ω)P_2 = P \mod (x^n - \sqrt{\omega})P2​=Pmod(xn−ω​). I think of P1P_1P1​ and P2P_2P2​ as two different "folds" of Pmod  (x2n−ω)P \mod (x^{2n} - \omega)Pmod(x2n−ω). Note that this folding operation is invertible. From knowing Pmod  (xn+ω)P \mod (x^n + \sqrt{\omega})Pmod(xn+ω​) and Pmod  (xn−ω)P \mod (x^n - \sqrt{\omega})Pmod(xn−ω​) you can "unfold" them into Pmod  (x2n−ω)P \mod (x^{2n} - \omega)Pmod(x2n−ω) by using the sum of the folds, and the difference of the folds.

import cmath

def fold(P, w):
    nhalf = len(P)//2
    return [P[i] + w * P[i + nhalf] for i in range(nhalf)]

def unfold(P1, P2, w):
    return [(p1 + p2)/2       for p1, p2 in zip(P1, P2)] + \
           [(p1 - p2)/(2 * w) for p1, p2 in zip(P1, P2)]

# Dummy identity function
def fold_and_unfold(P, w):
    sqrtw = cmath.sqrt(w)
    P1 = fold(P, sqrtw)
    P2 = fold(P, -sqrtw)
    
    return unfold(P1, P2, sqrtw)

print(fold_and_unfold([1,2,3,4], 1j + 100)) # This prints [1,2,3,4]

Part 2. Polynomial multiplication algorithm:

The key insight here is that if you want to efficiently multiply two polynomials PPP and QQQ, then you can start by repeatedly folding PPP and QQQ, then multiply their folded representations, and then unfold the result.

def multiply(P, Q, w):
    """
        O(n log n) polynomial multiplication algorithm
        Input:
            Polynomial P and Q of length n, n must be a power of 2
            w any non-zero complex number
        Output:
            Polynomial R = P * Q mod x^n - w
            R has length n
    """
    if len(P) == 1:
        return [P[0] * Q[0]]

    sqrtw = cmath.sqrt(w)
    
    P1 = fold(P, sqrtw)
    P2 = fold(P, -sqrtw)

    Q1 = fold(Q, sqrtw)
    Q2 = fold(Q, -sqrtw)
    
    R1 = multiply(P1, Q1, sqrtw)
    R2 = multiply(P2, Q2, -sqrtw)

    return unfold(R1, R2, sqrtw)

# This prints[3, 10, 22, 40, 43, 38, 24]
print(multiply([1,2,3,4,0,0,0,0], [3,4,5,6,0,0,0,0], 1j + 100)) 

This algorithm is similar to Cooley-Tukey FFT based polynomial multiplication algorithms, and it uses exactly the same number of complex multiplications.

But there are some key difference. My algorithm works mod  xn−ω\mod x^n - \omegamodxn−ω for any non-zero complex ω\omegaω. Also, during the folding operations ω\omegaω stays constant. This is very different to Cooley-Tukey FFT where nothing stays constant.

Statement and context adapted from MathOverflow · Görre Mörre

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

Topics : polynomials · algorithms · fourier-transform

Authors listed by the source : Görre Mörre

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : November 15, 2022

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni