##### Dedicated to the MACH2 group, in particular to Prof. Wolfgang Schreiner and Johann Messner.

In mathematics research, some questions are too easy to ask that one cannot help but feel amazed when the answers to these questions are nowhere to be found. The title is an example of such a question, I and Alexander Berkovich (my former advisor from the University of Florida) asked in 2017. Our account on this question recently got published in Experimental Mathematics. I suggest checking the ArXiv version of this paper or the actual published article, if my explanation of the problem sparks your interest.

I want to motivate the problem by introducing a well-known q-series identity first. The Euler Pentagonal Number Theorem (EPNT)

where for any non-negative integer

and .

When one looks at the sum side of the EPNT, it is clear that all the coefficients that appear in this formal power series are merely one of the three options: , , or . This property is not visible from the product representation. Moreover, it is highly surprising to see such cancellations to appear in the series expansion of an infinite product!

**But wait, there is more!** The products will always have a coefficient that is

- in size if or .
- in size if or .
- in size if or .
- in size if or .

This is what Berkovich and I proved in 2017* using elementary observations and simple calculations.

For me, the above list highlights how special the infinite product that appears in EPNT once again. There is no way of seeing these unbelievable cancellations that lead to small coefficients of the infinite product when we look at the finite products. Furthermore, the size of the coefficients of the polynomials grow, and they grow exponentially. In 1964, Sudler studied the size of the maximal absolute coefficients of these products and proved their exponential growth*.

Let’s get a little more technical and write out the polynomial

.

We can observe how fast these coefficients grow with the following animation where we plot from to in steps of . On the top of the image, you can also see the Maximum Absolute Coefficient (denoted as ) and the first location at which this coefficient appears (denoted by ).

At , this polynomial has terms, about of which are huge and all around the place! The maximum absolute coefficient at is . This becomes when we reach . They grow really fast; just as Sudler discovered.

Whenever we have a list of integers, it is a good idea to check the On-line Encyclopedia of Integer Sequences. We already had the absolute maximum coefficients (s) of for for our 2017 paper, so we made a quick search of this sequence only to find that this sequence was already listed* and our main question-to-be was right in front of us in the comments.

This is how the website looked in 2019:

The comment is clear. People believe that the absolute maximum coefficient of appears at the midpoint if is even (I haven’t seen a proof of this, please contact me if you find one) and it is a mystery if is odd. Berkovich and I studied these locations by calculating all the for . With that, now, we have confirmed the even index belief all the way up to 75,000 and we actually have a conjectural answer to the location question for the odd cases too. There are so many interesting properties of this elusive location that we supposedly found, but this is not the place to discuss those. I suggest checking the article.

The calculation of these polynomials one by one, finding the maximum absolute coefficient and its location was a huge task. We started calculating s on Maple, which gave up around . We moved to Mathematica and a larger server at Research Institute for Symbolic Computation (RISC) and we got stuck around . So I abandoned all the computer algebra systems and started programming in Python and later in C++. Carrying out these calculations correctly is/was not an easy task. I doubt it will ever be in my lifetime. After using all the symmetries and simplifications, one still needs at least operations to calculate from . There is no way of splitting the data. The numbers are growing exponentially and each calculation needed to be carried with arbitrary precision. RISC IT Ralf Wahner dealt with all my incompetence on the RISC side. I need to thank him a lot.

I attended a presentation by Wolfgang Schreiner on the MACH2 massively parallel shared-memory supercomputer project while I was struggling to make progress in my calculations. Using MACH2 was clearly what I needed. My calculations were already crashing computers with 1.5 Tb Ram at RISC. It would have been a great challenge to crash a computer with 20 Tb of shared Ram (I did crash a 10 Tb section of MACH2 once, so I can rest happily).

I contacted the MACH2 team, got an account, and gave a brief explanation of what I wanted to calculate. After a couple of emails, Johann Messner and I met in person and went through my code, line by line. I took his feedback and suggestions and started working on those. In the meantime, he started running tests with then-code. It took so much back and forth. Johann kept on asking me to parallelize my code but I didn’t want to do that in order to save used memory. I resisted as much as I can but he won. He knew the MACH2 beast the most after all. Also, he made the great point that MACH2 has slow processors but it has tons of memory at our disposal.

I didn’t know how to parallelize anything in C++ so I put it on the backburner. It was already more than a year at this point since we first started. The project could have easily sat for another couple of months… and it did. Later in the year, at a conference, I accidentally learned how to parallelize my code from a couple of numerical analysis postdocs. All of a sudden the missing link was there. After Johann’s okay, we cranked the last portion of the calculations (with lots of intermediate checks) from to . It still took 3 months even though we were using a little more than 200 cores and 10 Tb of memory.

The mathematical claims of the article came after all these crazy calculations. I came together with Prof. Berkovich at the University of Florida in October 2019. We compiled the data, looked at it left and right. In a short time, we made the best claims we can make about the elusive location. While we were at it, we refined Sudler’s growth constants as well. This ended my first 2 year-long experimental math project.

Long story short, the mathematical claims I made stand on the shoulders of many computers, so much wasted electricity, many sleepless nights, and the input of many people many of which haven’t even been mentioned here.

If you’d like to confirm or disprove that of the maximum absolute coefficient when appears as the coefficient of the term, be my guest. 🙂

**I shared this work with some audiences:**

- Austrian High-Performance Computing Meeting 2020, IST Austria, Klagenfurt AUT. February 19, 2020

Where do the maximum absolute q-series coefficients of occur? (Slides) - The 85th Seminaire Lotharingien de Combinatoire, Strobl AUT. September 6, 2020

Where do the maximum absolute q-series coefficients of occur? - Hudson Colloquium, Georgia Southern University, Savannah GA. September 23, 2020 (Online Meeting)

Where do the maximum absolute q-series coefficients of occur? (Pdf)

**Of course there are some simple typos here and there in the article, let me address the ones I know about here: **

- There are two 68,324s written by accident. Those should be 62,624s as in everywhere else in the paper.