\documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath,amssymb,amsthm} \usepackage[margin=2.6cm]{geometry} \usepackage{booktabs} \usepackage[hidelinks]{hyperref} \renewcommand{\labelitemi}{$\bullet$} \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{corollary}[theorem]{Corollary} \theoremstyle{definition} \newtheorem{conjecture}[theorem]{Conjecture} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \newcommand{\F}{\mathbb{F}} \newcommand{\M}{\mathcal{M}} \DeclareMathOperator{\ord}{ord} \title{\texorpdfstring{The invariant $c_M$ of Gallardo and Rahavandrainy at Mersenne prime exponents, and the case $p=7$}{The invariant c\_M of Gallardo and Rahavandrainy at Mersenne prime exponents, and the case p=7}} \author{David Niedbala Giraudin\\\small ORCID 0009-0009-1526-1178} \date{} \begin{document} \maketitle \begin{abstract} A Mersenne prime polynomial is an irreducible polynomial over $\F_2$ of the form $x^a(x+1)^b+1$ with $a,b\ge1$. Gallardo and Rahavandrainy conjectured that, apart from two exceptions, $\sigma(M^{2h})$ always has an irreducible factor which is not a Mersenne prime. For a prime $p\ge5$ they proved it for every $M$ outside an exceptional set $\Sigma_p=\Sigma_p^1\cup\dots\cup\Sigma_p^4$, defined through an integer $c_M$ and an odd integer $m_M$ read off the leading coefficients of $\sigma(\sigma(M^{p-1}))$, and later they proved it for every Mersenne prime number $p\ge31$; their method does not reach $p=7$. We compute $c_M$ exactly when $p=2^d-1$ is a Mersenne prime number: $c_M=d+1$ if $\deg M\ne d$, and $c_M=d$ if $\deg M=d$. Consequently $\Sigma_p^1$ consists of the Mersenne primes of degree $d$ or $d+1$, $\Sigma_p^2$ is empty, and $\Sigma_p^3$, $\Sigma_p^4$ are described by $m_M=\deg M-d-1$ and $m_M=\deg M-d$ respectively. For $p=7$ this reduces the conjecture to the Mersenne primes $M$ with $m_M\in\{\deg M-4,\deg M-3\}$. A direct computation shows that $\sigma(M^6)$ has a non-Mersenne irreducible factor for every Mersenne prime $M$ of degree at most $500$, and that $m_M\le17$ in that range. Hence the conjecture holds whenever $7$ divides $2h+1$ and $\deg M\le500$, and a counterexample with $7\mid 2h+1$ would need $m_M\ge\deg M-4>496$. A script attached as an ancillary file checks these computations, and reproduces the table of exceptional sets of Gallardo and Rahavandrainy. \end{abstract} \section{Introduction} For $A\in\F_2[x]$ let $\sigma(A)$ be the sum of the divisors of $A$. A \emph{Mersenne prime} is an irreducible polynomial $M=x^a(x+1)^b+1$ with $a,b\ge1$; we write $\M$ for the set of Mersenne primes. Mersenne primes play a central role in the classification of even perfect polynomials over $\F_2$ \cite{GR-K}, where the following statement is a recurring obstacle. \begin{conjecture}[Gallardo--Rahavandrainy {\cite[Conjecture~1.2]{GR-MV}}]\label{conj} Let $h\ge1$ and $M\in\M$, with $M\notin\{1+x+x^3,1+x^2+x^3\}$ or $h\ge2$. Then $\sigma(M^{2h})$ is divisible by an irreducible polynomial which is not a Mersenne prime. \end{conjecture} If $p$ is a prime dividing $2h+1$, then $\sigma(M^{p-1})=(M^p-1)/(M-1)$ divides $\sigma(M^{2h})$, so it suffices to treat $2h+1=p$ prime. Put \[ S=\sigma(M^{p-1})=\Phi_p(M),\qquad U=\sigma(S),\qquad W=U+S+1, \] where $\Phi_p$ is the $p$-th cyclotomic polynomial. Following \cite{GR-MV}, let $\alpha_l(F)$ be the coefficient of $x^{\deg F-l}$ in $F$, \[ c_M=(p-1)\deg M-\deg W=\deg S-\deg W, \] and, when $\deg W$ is even, let $m_M$ be the least odd $l$ with $\alpha_l(W)=1$. With $n=\deg M$, the exceptional sets of \cite{GR-MV} are \begin{align*} \Sigma_p^1&=\{M\in\M:\ c_M=n\},\\ \Sigma_p^2&=\{M\in\M:\ c_M=n+1,\ c_M\text{ odd}\},\\ \Sigma_p^3&=\{M\in\M:\ c_M+m_M=n,\ c_M\text{ even}\},\\ \Sigma_p^4&=\{M\in\M:\ c_M+m_M=n+1,\ c_M\text{ even},\ m_M\ge3\}, \end{align*} and $\Sigma_p=\Sigma_p^1\cup\Sigma_p^2\cup\Sigma_p^3\cup\Sigma_p^4$. Gallardo and Rahavandrainy proved that for $p\ge5$ prime and $M\notin\Sigma_p$, $\Phi_p(M)$ has a non-Mersenne irreducible factor \cite[Theorem~1.1]{GR-MV}, and tabulated the sizes of the $\Sigma_p^j$ for small $p$ \cite[Table~1]{GR-MV}. In \cite[Proposition~1.1]{GR-K} they settled the conjecture whenever $2h+1$ has a prime divisor in an explicit set which contains every Mersenne prime number other than $7$, and every prime $p$ with $\ord_p(2)\equiv0\pmod 8$; for a Mersenne prime number $p\ge31$ this is \cite[Lemma~4.17]{GR-K}. The case $p=7$ is left open there. Our main result computes $c_M$ when $p$ is a Mersenne prime number. \begin{theorem}\label{thm:c} Let $d\ge3$ be such that $p=2^d-1$ is prime, and let $M$ be a Mersenne prime of degree $n$. Then \[ c_M=\begin{cases} d+1 & \text{if } n\ne d,\\ d & \text{if } n=d.\end{cases} \] \end{theorem} \begin{corollary}\label{cor:sigma} Under the hypotheses of Theorem~\ref{thm:c}, \begin{itemize} \item $\Sigma_p^1$ is the set of Mersenne primes of degree $d$ or $d+1$; \item $\Sigma_p^2=\emptyset$; \item $\Sigma_p^3=\{M\in\M:\ \deg M\ne d,\ m_M=\deg M-d-1\}$ and $\Sigma_p^4=\{M\in\M:\ \deg M\ne d,\ m_M=\deg M-d,\ m_M\ge3\}$. \end{itemize} \end{corollary} For $p\ge31$ the conjecture is already known \cite{GR-K}, and Corollary~\ref{cor:sigma} only describes the exceptional sets of \cite[Theorem~1.1]{GR-MV}. For $p=7$ it gives the following reduction, which we complete by a computation in Section~\ref{sec:p7}. \begin{corollary}\label{cor:p7} Let $M\in\M$. If $\sigma(M^6)$ has no irreducible factor other than Mersenne primes, then either $\deg M\in\{3,4\}$, or $m_M\in\{\deg M-4,\ \deg M-3\}$. \end{corollary} \begin{proposition}\label{prop:comp} For every Mersenne prime $M$ with $\deg M\le500$, $\sigma(M^6)$ has an irreducible factor which is not a Mersenne prime. In that range $m_M\le17$, and $\Sigma_7$ consists of the four Mersenne primes of degree $3$ and $4$ (in $\Sigma_7^1$), the two of degree $6$ in $\Sigma_7^4$, and two of degree $7$ in $\Sigma_7^3$. \end{proposition} Consequently, Conjecture~\ref{conj} holds for every $h$ with $7\mid2h+1$ and every $M$ of degree at most $500$; beyond, a counterexample with $7\mid 2h+1$ would need $m_M\ge\deg M-4>496$. \section{Proof of Theorem \ref{thm:c}} We work in the field $\F_2((1/x))$ of Laurent series in $1/x$, where every non-zero polynomial $F$ is invertible and $F^{-1}=x^{-\deg F}(1+O(x^{-1}))$. \begin{lemma}\label{lem:kappa} Let $S=P_1\cdots P_k$ be a product of distinct irreducible polynomials, $r=\min_i\deg P_i\ge2$, $\kappa$ the number of $i$ with $\deg P_i=r$, and $T=\sigma(S)+S$. In $T/S$, the coefficient of $x^{-j}$ vanishes for $j