\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{amsmath,amssymb,amsthm,mathtools} \usepackage[margin=2.4cm]{geometry} \usepackage{booktabs} \usepackage{longtable} \usepackage{array} \usepackage{parskip} % no paragraph indentation \usepackage{enumerate} % needed for \begin{enumerate}[(1)] \usepackage[backref=page]{hyperref} \hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue} \hypersetup{hidelinks} \newtheorem{theorem}{Theorem}[section] \numberwithin{equation}{section} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{introthm}{Theorem} % main results in the Introduction: A, B, C, D \renewcommand{\theintrothm}{\Alph{introthm}} \newtheorem{introcor}[introthm]{Corollary} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \newtheorem{remark}[theorem]{Remark} \newtheorem{example}[theorem]{Example} \newtheorem{examples}[theorem]{Examples} \newtheorem{remarks}[theorem]{Remarks} %%% Label / reference macros \newcommand{\selabel}[1]{\label{se:#1}} \newcommand{\seref}[1]{Section~\ref{se:#1}} \newcommand{\sselabel}[1]{\label{sse:#1}} \newcommand{\sseref}[1]{Subsection~\ref{sse:#1}} \def\thlabel#1{\label{th:#1}} \def\thref#1{Theorem~\ref{th:#1}} \def\threfs#1#2{Theorems~\ref{th:#1} and~\ref{th:#2}} \newcommand{\lelabel}[1]{\label{le:#1}} \newcommand{\leref}[1]{Lemma~\ref{le:#1}} \newcommand{\prlabel}[1]{\label{pr:#1}} \newcommand{\prref}[1]{Proposition~\ref{pr:#1}} \newcommand{\colabel}[1]{\label{co:#1}} \newcommand{\coref}[1]{Corollary~\ref{co:#1}} \newcommand{\relabel}[1]{\label{re:#1}} \newcommand{\reref}[1]{Remark~\ref{re:#1}} \newcommand{\exlabel}[1]{\label{ex:#1}} \newcommand{\exref}[1]{Example~\ref{ex:#1}} \newcommand{\delabel}[1]{\label{de:#1}} \newcommand{\deref}[1]{Definition~\ref{de:#1}} \newcommand{\eqlabel}[1]{\label{eq:#1}} \newcommand{\equref}[1]{(\ref{eq:#1})} \newcommand{\tabref}[1]{Table~\ref{tab:#1}} \newcommand{\bZ}{\mathbb{Z}} \newcommand{\MP}{\mathcal{MP}} \newcommand{\U}{U} \newcommand{\bic}{\bowtie} \newcommand{\la}{\triangleright} \newcommand{\ra}{\triangleleft} \newcommand{\ord}{{\rm ord}} \newcommand{\Sym}{{\rm Sym}} \newcommand{\id}{{\rm Id}} \newcommand{\core}{{\rm core}} \newcommand{\Aut}{{\rm Aut}} %%%%%%%%%%%%%%%%%%%%%%%% %\title{Bicrossed products of two finite cyclic groups: \\ Douglas' problem revisited} \title{The solution of Douglas' factorization problem} \author{Text primarily generated by Claude -- Anthropic} %\author{G. Militaru} \date{} \begin{document} \maketitle \begin{abstract} In 1951 J. Douglas reduced the description of all groups which factorize exactly through two finite cyclic groups $C_n$ and $C_m$ to a nonlinear system of functional equations. In modern language, the solutions of this system are the matched pairs $(C_n, \, C_m, \, \la, \, \ra)$. Douglas did not solve his system, and the problem of describing and classifying the associated bicrossed products $C_n \bic C_m$ is still open. In this paper we solve the problem for fixed $n$ and $m$. First, we prove that the set $\MP (n, \, m)$ of all matched pairs is a disjoint union of Cartesian products of sets of liftings of matched pairs between two smaller cyclic groups; this gives a recursive algorithm which computes $\MP (n, \, m)$. Secondly, for each matched pair we give a presentation of $C_n \bic C_m$ by generators and relations, and we show that the relation $ba = (b \la a) (b \ra a)$ alone does not define the bicrossed product. Thirdly, using the algorithm, we compute all matched pairs and we classify, up to an isomorphism of groups, all bicrossed products $C_n \bic C_m$ with $nm \leq 2000$. A closed formula for $|\MP (4, \, m)|$ is also given and, as an application, all bicrossed products $C_4 \bic C_m$ are classified up to an isomorphism of groups, for any $m$. Finally, we show that the result of \cite{ACIM}, stating that a bicrossed product of two finite cyclic groups one of which has prime order is a semidirect product of the two groups, does not hold in general: for any two even integers $n$, $m \geq 4$ there exists a bicrossed product $C_n \bic C_m$ which is not isomorphic to a semidirect product of $C_n$ and $C_m$, and the direct product of two Frobenius groups with cyclic kernels and complements gives such examples also for odd orders. \end{abstract} \medskip \noindent {\em Key words: factorization problem; matched pair of groups; bicrossed product; Zappa--Sz\'ep product; finite cyclic groups; skew morphisms} \vspace{.3cm} \noindent{MSC 2020: Primary 20D40; Secondary 20B05, 20E22, 20F05} %\tableofcontents %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section*{Introduction} The \emph{factorization problem} is one of the old open problems of group theory. It can be stated as follows: \emph{let $H$ and $G$ be two given groups; describe and classify up to an isomorphism all groups $E$ which factorize exactly through $H$ and $G$}, i.e. $E$ contains $H$ and $G$ as subgroups such that $E = HG$ and $H \cap G = \{1\}$. The first part of the problem goes back to E. Maillet \cite{Maillet} and was formulated explicitly by O. Ore \cite{Ore}; the classification part was introduced in \cite{AM}. The natural tool for this problem is the bicrossed product of two groups. It was introduced by G. Zappa \cite{Zappa} and rediscovered by J. Sz\'ep \cite{Szep}; it is also called the Zappa--Sz\'ep product or the knit product. M. Takeuchi \cite{Takeuchi} proved that a group $E$ factorizes exactly through $H$ and $G$ if and only if $E$ is isomorphic to a bicrossed product $H \bic G$ associated to a matched pair $(H, \, G, \, \la, \, \ra)$. Thus, the factorization problem can be restated in a computational manner \cite{AM}: \emph{describe all matched pairs $(H, \, G, \, \la, \, \ra)$ and classify up to an isomorphism all bicrossed products $H \bic G$}. The bicrossed product is also the model for similar constructions for algebras, coalgebras, Hopf algebras, Lie algebras, groupoids or locally compact quantum groups. Even for two cyclic groups the problem is far from being trivial. If $H$ and $G$ are cyclic and not both finite, the groups which factorize through $H$ and $G$ were described by L. R\'edei \cite{Redei} and P.M. Cohn \cite{Cohn}. If $H$ and $G$ are finite cyclic groups, B. Huppert \cite{Huppert} proved that $E = HG$ is supersolvable and N. It\^o \cite{Ito} proved that $E$ is metabelian. In a series of four notes \cite{D1, D2, D3, D4}, J. Douglas, one of the first two Fields medalists, attacked the problem for two finite cyclic groups $C_n = \langle a \rangle$ and $C_m = \langle b \rangle$. He showed that such a group is completely determined by two permutations $\theta \in \Sym (\bZ_n)$ and $\varphi \in \Sym (\bZ_m)$, called a \emph{pair of conjugate special substitutions}, which satisfy a nonlinear system of functional equations. Over two dozen theorems on these permutations are stated in \cite{D1, D2, D3, D4}, most of them without detailed proofs. However, Douglas did not solve his system. The solutions are known only in a few cases: when one of the two orders is prime (\cite[(16.23)]{D3}, \cite[Theorem 2.5]{AIM}, \cite[Theorem 2.1]{ACIM}), when one of the orders is $p^2$ (K.R. Yacoub \cite{Yacoub}) and, for powers of the same odd prime, in the language of complete regular dessins \cite{HNW}. The same objects appear in the literature under different names. As explained in \cite{AIM}, a pair $(\theta, \, \varphi)$ of conjugate special substitutions is the same thing as a matched pair $(C_n, \, C_m, \, \la, \, \ra)$. In \cite{HNWY, FHNSW} the same pairs appear as \emph{reciprocal pairs of skew morphisms} of the cyclic groups $\bZ_n$ and $\bZ_m$, and they are shown to be in bijection with the complete regular dessins whose underlying graph is the complete bipartite graph $K_{m, n}$; the skew morphisms were introduced by R. Jajcay and J. \v{S}ir\'a\v{n} \cite{JS}, see also \cite{CJT, KN1, KN2}. Several results of \cite{FHNSW} are statements of Douglas \cite{D1, D2} or of \cite{Takeuchi, ACIM, AIM}, written in this other language. In order to avoid any confusion, we give in \sseref{skew} a precise dictionary between the three languages and we indicate exactly which statements coincide. Closely related factorization problems were solved recently in \cite{HKK, HY}: using skew morphisms and their extended power functions, K. Hu, I. Kov\'acs and Y.S. Kwon classified the exact products of a cyclic group and a dihedral group $D_{2k}$, $k\geq 3$ odd \cite[Theorem 1]{HKK}, while K. Hu and H. Yu classified the exact products of two dihedral groups $D_{2m}$ and $D_{2n}$, $m$, $n\geq 3$ odd \cite[Theorem 1]{HY}. For other results see also \cite{Sn, AKC}. The aim of this paper is to solve Douglas' problem \emph{for fixed $n$ and $m$}. More precisely, we give an algorithm which: \begin{enumerate}[(1)] \item computes the set $\MP (n, \, m)$ of all matched pairs $(C_n, \, C_m, \, \la, \, \ra)$; \item describes by generators and relations the associated bicrossed products $C_n \bic C_m$; \item classifies these groups up to an isomorphism of groups. \end{enumerate} The starting point is Douglas' criterion (\thref{douglas}), stated without proof in \cite[\S 3]{D1}: in order to check that a pair $(\theta, \, \varphi)$ of permutations is a matched pair, it is enough to check the compatibility conditions for the generators $a$ and $b$. We give a complete proof of it, which also produces a faithful permutation representation of degree $n + m$ of the bicrossed product. The key step is (1). Let $(\theta, \, \varphi) \in \MP (n, \, m)$, $r := \ord (\theta)$ and $s := \ord (\varphi)$. Then $s$ divides $n$, $r$ divides $m$, and the reductions of $\theta$ modulo $s$ and of $\varphi$ modulo $r$ form a matched pair between $C_s$ and $C_r$, which we call the \emph{quotient pair} of $(\theta, \, \varphi)$. Our main theoretical result shows that, over a fixed quotient pair, the two permutations $\theta$ and $\varphi$ can be chosen \emph{independently} of each other [\thref{lifting}]: \begin{introthm} Let $n$, $m$ be two positive integers. Then \begin{equation*} \MP (n, \, m) = \bigsqcup_{s\,|\,n, \; r\,|\,m} \;\; \bigsqcup_{(\theta', \, \varphi') \in \MP (s, \, r)} \Theta_n (\theta', \, \varphi') \times \Phi_m (\theta', \, \varphi'), \end{equation*} where $\Theta_n (\theta', \, \varphi')$ is the set of all liftings of $\theta'$ to $\bZ_n$ and $\Phi_m (\theta', \, \varphi')$ is the set of all liftings of $\varphi'$ to $\bZ_m$ (\deref{lift}). Moreover, if $n$, $m \geq 2$, only the terms with $r < n$ and $s < m$ can be non-empty. \end{introthm} Since $sr < nm$, Theorem A gives a recursive algorithm which computes $\MP (n, \, m)$; the algorithm is very efficient in practice. The second result gives, for each matched pair, a presentation of the bicrossed product by generators and relations [\thref{prezentare}]: \begin{introthm} Let $(\theta, \, \varphi) \in \MP (n, \, m)$ and $s = \ord (\varphi)$. Then \begin{equation*} C_n \bic C_m \cong \bigl\langle a, \, b \mid a^n = b^m = 1, \;\; b a^x = a^{\theta(x)} \, b^{\varphi^x(1)}, \;\; 1 \leq x \leq s \bigr\rangle. \end{equation*} \end{introthm} We also show that the presentation $\langle a, \, b \mid a^n = b^m = 1, \, ba = (b \la a) (b \ra a) \rangle$, which is frequently used in the literature, is not correct in general (\exref{contra}). Using Theorems A and B and the computer algebra system GAP \cite{GAP}, we have computed all matched pairs and all bicrossed products $C_n \bic C_m$, up to an isomorphism of groups, for all $n$ and $m$ with $nm \leq 2000$ (\seref{clasif}). For small values of $n$, Theorem A also gives closed formulas. For the first composite value, $n = 4$, we obtain [\prref{n4}]: \begin{introthm} Let $m \geq 2$ be an integer and $\varsigma (k, \, m) := \{t \in \U (\bZ_m) \, | \, t^k = 1\}$. Then \begin{equation*} |\MP (4, \, m)| = \begin{cases} |\varsigma (4, \, m)|, & \text{if $m$ is odd,} \\ |\varsigma (4, \, m)| + |\varsigma (2, \, m)|, & \text{if $m$ is even and $8 \nmid m$,} \\ |\varsigma (4, \, m)| + |\varsigma (2, \, m)| + 2^{1 + \omega (m/8)}, & \text{if $8 \, | \, m$,} \end{cases} \end{equation*} where $\omega (k)$ is the number of distinct prime divisors of $k$. \end{introthm} Using Theorem C we solve completely the classification problem for $n = 4$ [\coref{C4final}]: \begin{introthm} Let $m = 2^e m'$, with $m'$ odd, let $\omega$ be the number of distinct prime divisors of $m'$ and $\omega_1$ the number of those which are congruent to $1$ modulo $4$. Then any bicrossed product $C_4 \bic C_m$ is isomorphic to a semidirect product $C_{m'} \rtimes P$, where $P$ is a bicrossed product $C_4 \bic C_{2^e}$, and the number of isomorphism types of groups $C_4 \bic C_m$ is \begin{equation*} N (4, \, m) = A_e + B_e \, (2^{\omega} - 1) + C_e \, 2^{\omega - 1} (2^{\omega_1} - 1), \end{equation*} where $(A_e, \, B_e, \, C_e)$ is equal to $(1, 1, 1)$, $(2, 2, 1)$, $(3, 4, 2)$ and $(8, 8, 4)$ for $e = 0$, $1$, $2$ and $3$, respectively, and to $(11, 11, 8)$ for $e \geq 4$. \end{introthm} The groups themselves are described explicitly in \seref{C4}; for $e \geq 4$ there are exactly $11$ groups $C_4 \bic C_{2^e}$, four of which are not semidirect products of the two cyclic factors. Finally, we study how far a bicrossed product of two cyclic groups is from being a semidirect product. By \cite[Theorem 2.1]{ACIM}, if $p$ is a prime, then any bicrossed product $C_p \bic C_m$ is isomorphic to a semidirect product of $C_p$ and $C_m$. We show that this result cannot be extended beyond the prime case [\threfs{even}{frobenius}]: \begin{introthm} \begin{enumerate}[(1)] \item Let $n$, $m \geq 4$ be two even integers. Then the bicrossed product $C_n \bic C_m$ associated to the matched pair $\theta (x) = - x$, $\varphi (y) = - y$ is not isomorphic to a semidirect product $C_n \rtimes C_m$ or $C_m \rtimes C_n$. \item Let $F_1$ and $F_2$ be two Frobenius groups with cyclic kernels of orders $k_1$, $k_2$ and cyclic complements of orders $h_1$, $h_2$, such that $\gcd (h_1, \, k_2) = \gcd (k_1, \, h_2) = 1$. Then $F_1 \times F_2$ is a bicrossed product $C_{h_1 k_2} \bic C_{k_1 h_2}$ which is not isomorphic to a semidirect product of these two cyclic groups. \end{enumerate} \end{introthm} For instance, $S_3 \times S_3 \cong C_6 \bic C_6$ and $(C_7 \rtimes C_3) \times (C_7 \rtimes C_3) \cong C_{21} \bic C_{21}$ are not semidirect products of the two cyclic factors. The data of \seref{clasif} lead us to propose the problem of characterizing the pairs $(n, \, m)$ for which every bicrossed product $C_n \bic C_m$ is a semidirect product (\seref{semidirect}). The groups $C_4 \bic C_m$ are classified in \seref{C4}. Some corrections to \cite{AIM, AM} are collected in \seref{remarks}, and the programs used are described in the Appendix. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{Preliminaries}\selabel{prel} We fix the notation used throughout the paper. For a positive integer $k$, $\bZ_k$ denotes the ring of integers modulo $k$, $\U (\bZ_k)$ the group of its units and $\Sym (\bZ_k)$ the group of all permutations of $\bZ_k$. For $\sigma \in \Sym (\bZ_k)$ we denote by $\ord (\sigma)$ its order; if $\ord (\sigma)$ divides $l$, then the power $\sigma^y$ makes sense for any $y \in \bZ_l$. All permutations are composed as functions: $(\sigma \tau) (x) = \sigma (\tau (x))$. $C_k$ denotes a cyclic group of order $k$. \textbf{Matched pairs and bicrossed products.} Let $H$ and $G$ be two groups and let $\la \colon G \times H \to H$ and $\ra \colon G \times H \to G$ be two maps. Recall from \cite{Takeuchi} (see also \cite[Definition 1.1]{ACIM}) that $(H, \, G, \, \la, \, \ra)$ is called a \emph{matched pair} if $\la$ is a left action of the group $G$ on the set $H$, $\ra$ is a right action of the group $H$ on the set $G$ and the following two compatibility conditions hold: \begin{equation}\eqlabel{mp} g \la (h_1 h_2) = (g \la h_1) \bigl( (g \ra h_1) \la h_2 \bigr), \qquad (g_1 g_2) \ra h = \bigl( g_1 \ra (g_2 \la h) \bigr) (g_2 \ra h) \end{equation} for all $g$, $g_1$, $g_2 \in G$ and $h$, $h_1$, $h_2 \in H$. The \emph{bicrossed product} $H \bic G$ is the set $H \times G$ with the multiplication \begin{equation}\eqlabel{bicmult} (h_1, \, g_1) \cdot (h_2, \, g_2) := \bigl( h_1 (g_1 \la h_2), \, (g_1 \ra h_2) g_2 \bigr) \end{equation} for all $h_1$, $h_2 \in H$ and $g_1$, $g_2 \in G$. By \cite[Theorem 1.3]{ACIM}, $H \bic G$ is a group with unit $(1, \, 1)$ if and only if $(H, \, G, \, \la, \, \ra)$ is a matched pair. In this case $H \cong H \times \{1\}$ and $G \cong \{1\} \times G$ are subgroups of $H \bic G$, and $H \bic G$ factorizes exactly through them. Conversely, let $E$ be a group which factorizes exactly through two subgroups $H$ and $G$. Then for any $g \in G$ and $h \in H$ the element $gh$ can be written uniquely as \begin{equation}\eqlabel{gh} g h = (g \la h) \, (g \ra h), \qquad {\rm with} \quad g \la h \in H, \quad g \ra h \in G. \end{equation} This defines a matched pair $(H, \, G, \, \la, \, \ra)$, and the map $H \bic G \to E$, $(h, \, g) \mapsto hg$, is an isomorphism of groups \cite[Theorem 1.4]{ACIM}. A morphism of matched pairs $(H, \, G, \, \la, \, \ra) \to (H', \, G', \, \la', \, \ra')$ is a pair $(\psi_H, \, \psi_G)$ of morphisms of groups $\psi_H \colon H \to H'$, $\psi_G \colon G \to G'$ such that \begin{equation*} \psi_H (g \la h) = \psi_G (g) \la' \psi_H (h), \qquad \psi_G (g \ra h) = \psi_G (g) \ra' \psi_H (h) \end{equation*} for all $g \in G$ and $h\in H$ \cite[Definition 1.1]{ACIM}. An isomorphism of matched pairs induces an isomorphism of the bicrossed products which maps $H$ onto $H'$ and $G$ onto $G'$. \textbf{The cyclic case.} From now on $C_n = \langle a \rangle$ and $C_m = \langle b \rangle$ are two finite cyclic groups with fixed generators $a$ and $b$. Let $(C_n, \, C_m, \, \la, \, \ra)$ be a matched pair. Since $b \la a^x \in C_n$ and $b^y \ra a \in C_m$, there exist two maps $\theta \colon \bZ_n \to \bZ_n$ and $\varphi \colon \bZ_m \to \bZ_m$ such that \begin{equation}\eqlabel{thetaphi} b \la a^x = a^{\theta (x)}, \qquad b^y \ra a = b^{\varphi (y)} \end{equation} for all $x \in \bZ_n$ and $y \in \bZ_m$. The map $b \la - \colon C_n \to C_n$ is a bijection, with inverse $b^{-1} \la -$, since $\la$ is a left action; hence $\theta$ is a permutation of $\bZ_n$. In the same way, $\varphi$ is a permutation of $\bZ_m$. Moreover, since $\la$ is a left action of $C_m$ and $\ra$ is a right action of $C_n$, we have \begin{equation*} b^y \la a^x = a^{\theta^y (x)}, \qquad b^y \ra a^x = b^{\varphi^x (y)} \end{equation*} for all $x \in \bZ_n$ and $y \in \bZ_m$. Therefore, using \equref{gh} and \equref{bicmult}, the multiplication of the bicrossed product $C_n \bic C_m$ is given by \begin{equation}\eqlabel{inmult} b^y a^x = a^{\theta^y (x)} \, b^{\varphi^x (y)}, \qquad (a^{x_1} b^{y_1}) \, (a^{x_2} b^{y_2}) = a^{x_1 + \theta^{y_1} (x_2)} \, b^{\varphi^{x_2} (y_1) + y_2} \end{equation} for all $x$, $x_1$, $x_2 \in \bZ_n$ and $y$, $y_1$, $y_2 \in \bZ_m$. In particular, the matched pair is completely determined by the pair of permutations $(\theta, \, \varphi)$. The following result is \cite[Proposition 2.1]{AIM}, which is a reformulation of \cite[Theorem I]{D1}. \begin{proposition}\prlabel{AIM} Let $n$ and $m$ be two positive integers. There exists a bijection between the set of all matched pairs $(C_n, \, C_m, \, \la, \, \ra)$ and the set of all pairs $(\theta, \, \varphi) \in \Sym (\bZ_n) \times \Sym (\bZ_m)$ such that \begin{align} & \theta (0) = 0, \qquad \varphi (0) = 0, \eqlabel{13}\\ & \ord (\theta) \, | \, m, \qquad \ord (\varphi) \, | \, n, \eqlabel{14}\\ & \theta^y (x + z) - \theta^y (z) = \theta^{\varphi^z (y)} (x), \eqlabel{15}\\ & \varphi^y (x + z) - \varphi^y (z) = \varphi^{\theta^z (y)} (x) \eqlabel{16} \end{align} for all $x$, $y$, $z$ (all the operations taking place in the relevant rings). The bijection is given by \equref{thetaphi}. \end{proposition} We denote by $\MP (n, \, m)$ the set of all pairs $(\theta, \, \varphi)$ satisfying \equref{13}-\equref{16}. Some special cases are worth to be mentioned: \begin{enumerate}[(1)] \item The pair $(\id, \, \id)$ corresponds to the trivial actions, i.e. to the direct product $C_n \times C_m$. \item If $\varphi = \id$, then $\ra$ is trivial and $\la$ is an action by automorphisms \cite[Remark 1.6]{ACIM}. Thus $\theta (x) = tx$ for some $t\in \U (\bZ_n)$ with $t^m = 1$, and $C_n \bic C_m = C_n \rtimes C_m$ is a semidirect product in which $C_n$ is normal. \item If $\theta = \id$, then $\la$ is trivial, $\varphi (y) = ty$ for some $t\in \U (\bZ_m)$ with $t^n = 1$, and $C_n \bic C_m \cong C_m \rtimes C_n$ is a semidirect product in which $C_m$ is normal \cite[Remark 1.6]{ACIM}. \end{enumerate} A matched pair $(\theta, \, \varphi)$ is called \emph{proper} if $\theta \neq \id$ and $\varphi \neq \id$. The roles of $C_n$ and $C_m$ are symmetric \cite[Proposition 1.5]{ACIM}. Hence $|\MP (n, \, m)| = |\MP (m, \, n)|$, the two families of bicrossed products are the same, and we can assume $n \leq m$ whenever it is convenient. The pair $(\theta, \, \varphi)$ depends on the choice of the generators $a$ and $b$. The next result describes this dependence; it is a reformulation of \cite[(123)]{D2} in our language. \begin{proposition}\prlabel{orbite} The group $\U (\bZ_n) \times \U (\bZ_m)$ acts on the set $\MP (n, \, m)$ via \begin{equation}\eqlabel{actiune} (i, \, j) \cdot (\theta, \, \varphi) := (\theta_{i, j}, \, \varphi_{i, j}), \qquad \theta_{i, j} (x) := i^{-1} \theta^{j} (ix), \quad \varphi_{i, j} (y) := j^{-1} \varphi^{i} (jy) \end{equation} for all $x \in \bZ_n$ and $y \in \bZ_m$. Two matched pairs $(C_n, \, C_m, \, \la, \, \ra)$ and $(C_n, \, C_m, \, \la', \, \ra')$ are isomorphic if and only if the associated pairs $(\theta, \, \varphi)$ and $(\theta', \, \varphi')$ lie in the same orbit. \end{proposition} \begin{proof} Let $i \in \U (\bZ_n)$ and $j \in \U (\bZ_m)$. Then $a' := a^i$ is a generator of $C_n$ and $b' := b^j$ is a generator of $C_m$. We compute the pair associated by \equref{thetaphi} to the same matched pair $(C_n, \, C_m, \, \la, \, \ra)$, but with respect to the generators $a'$ and $b'$. Using \equref{inmult} we obtain: \begin{equation*} b' \la a'^{\, x} = b^j \la a^{ix} = a^{\theta^j (ix)} = a'^{\, i^{-1} \theta^j (ix)}, \qquad b'^{\, y} \ra a' = b^{jy} \ra a^i = b^{\varphi^i (jy)} = b'^{\, j^{-1} \varphi^i (jy)}. \end{equation*} Thus the new pair is exactly $(\theta_{i, j}, \, \varphi_{i, j})$. In particular, $(\theta_{i, j}, \, \varphi_{i, j}) \in \MP (n, \, m)$, by \prref{AIM} applied for the generators $a'$ and $b'$. Let $\mu_i (x) := ix$; then $\theta_{i, j} = \mu_i^{-1} \theta^j \mu_i$, and therefore $(\theta_{i, j})^{j'} = \mu_i^{-1} \theta^{j j'} \mu_i$. It follows that \begin{equation*} (\theta_{i', j'})_{i, j} (x) = i^{-1} i'^{-1} \theta^{j' j} (i' i x) = \theta_{i i', \, j j'} (x), \end{equation*} and similarly $(\varphi_{i', j'})_{i, j} = \varphi_{i i', \, j j'}$. Hence \equref{actiune} is an action of the group $\U (\bZ_n) \times \U (\bZ_m)$. Let now $(\psi_1, \, \psi_2) \colon (C_n, \, C_m, \, \la, \, \ra) \to (C_n, \, C_m, \, \la', \, \ra')$ be an isomorphism of matched pairs. Then $\psi_1 (a) = a^i$ and $\psi_2 (b) = b^j$, for some $i \in \U (\bZ_n)$ and $j \in \U (\bZ_m)$. Applying the compatibility of $(\psi_1, \, \psi_2)$ with the left actions to $b$ and $a^x$, we obtain \begin{equation*} a^{i \theta (x)} = \psi_1 (a^{\theta (x)}) = \psi_1 (b \la a^x) = \psi_2 (b) \la' \psi_1 (a^x) = b^j \la' a^{ix} = a^{\theta'^{\, j} (ix)}, \end{equation*} i.e. $\theta (x) = i^{-1} \theta'^{\, j} (ix) = \theta'_{i, j} (x)$. In the same way, the compatibility with the right actions applied to $b^y$ and $a$ gives \begin{equation*} b^{j \varphi (y)} = \psi_2 (b^y \ra a) = \psi_2 (b^y) \ra' \psi_1 (a) = b^{jy} \ra' a^i = b^{\varphi'^{\, i} (jy)}, \end{equation*} i.e. $\varphi = \varphi'_{i, j}$. Thus $(\theta, \, \varphi) = (i, \, j) \cdot (\theta', \, \varphi')$. Conversely, assume that $(\theta, \, \varphi) = (i, \, j) \cdot (\theta', \, \varphi')$ and let $\psi_1 (a^x) := a^{ix}$, $\psi_2 (b^y) := b^{jy}$. The above computation shows that $\psi_1 (b \la h) = \psi_2 (b) \la' \psi_1 (h)$ and $\psi_2 (g \ra a) = \psi_2 (g) \ra' \psi_1 (a)$, for all $h \in C_n$ and $g \in C_m$. Since $\la$, $\la'$ are left actions and $\ra$, $\ra'$ are right actions, we obtain by induction that $\psi_1 (b^y \la h) = \psi_2 (b^y) \la' \psi_1 (h)$ and $\psi_2 (g \ra a^x) = \psi_2 (g) \ra' \psi_1 (a^x)$, for all $x$, $y$. Thus $(\psi_1, \, \psi_2)$ is an isomorphism of matched pairs. \end{proof} Thus, for fixed $n$ and $m$ there are three levels of classification: \begin{enumerate}[(1)] \item The set $\MP (n, \, m)$ itself. By \cite[Theorems 1.3 and 1.4]{ACIM}, it is in bijection with the set of exact factorizations $E = \langle a \rangle \langle b \rangle$ with distinguished generators $a$ and $b$ of orders $n$ and $m$; two such factorizations $E = \langle a \rangle \langle b \rangle$ and $E' = \langle a' \rangle \langle b' \rangle$ are identified if there exists an isomorphism of groups $f \colon E \to E'$ with $f (a) = a'$ and $f (b) = b'$. By \cite[Theorem 3.5]{FHNSW}, it is also in bijection with the set of isomorphism classes of complete regular dessins with underlying graph $K_{m, n}$ (see \sseref{skew}). \item The orbit set $\MP (n, \, m) / \bigl( \U (\bZ_n) \times \U (\bZ_m) \bigr)$. By \prref{orbite}, it is in bijection with the set of isomorphism classes of matched pairs $(C_n, \, C_m, \, \la, \, \ra)$, i.e. of exact factorizations $E = AB$ with $A \cong C_n$ and $B \cong C_m$; here $E = AB$ and $E' = A'B'$ are identified if there exists an isomorphism of groups $f \colon E \to E'$ with $f (A) = A'$ and $f (B) = B'$. \item The set of isomorphism classes of the groups $C_n \bic C_m$; this is the object of the factorization problem. \end{enumerate} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{Douglas' criterion}\selabel{douglas} In \cite[\S 3]{D1} Douglas remarked, without proof, that the conditions \equref{15} and \equref{16} can be lightened by taking $y = 1$. In this section we give a complete proof of this fact, which is the starting point of our approach. The proof also gives a faithful permutation representation of degree $n + m$ of the bicrossed product. Let $\tau_k \in \Sym (\bZ_k)$, $\tau_k (x) := x + 1$, be the cyclic shift of $\bZ_k$. For $\sigma\in \Sym (\bZ_k)$ and $t \in \bZ_k$, Douglas \cite[\S 3]{D1} considers the \emph{$t$-translation} of $\sigma$, defined by $T_t \sigma (x) := \sigma (x + t) - \sigma (t)$, for all $x\in \bZ_k$. In terms of permutations, \begin{equation}\eqlabel{transl} T_t \sigma = \tau_k^{- \sigma (t)} \, \sigma \, \tau_k^{t}. \end{equation} \begin{theorem}\thlabel{douglas} Let $\theta\in \Sym (\bZ_n)$, $\varphi \in \Sym (\bZ_m)$, $r := \ord (\theta)$ and $s := \ord (\varphi)$. Then $(\theta, \, \varphi) \in \MP (n, \, m)$ if and only if $\theta (0) = 0$, $\varphi (0) = 0$, $r \, | \, m$, $s \, | \, n$ and \begin{align} & \theta (x + z) - \theta (z) = \theta^{\varphi^z (1)} (x), \eqlabel{D1}\\ & \varphi (y + w) - \varphi (w) = \varphi^{\theta^w (1)} (y) \eqlabel{D2} \end{align} for all $x$, $z \in \bZ_n$ and $y$, $w \in \bZ_m$. In this case, the permutations \begin{equation*} A := \tau_n \times \varphi^{-1}, \qquad B := \theta \times \tau_m^{-1} \end{equation*} of the disjoint union $\bZ_n \sqcup \bZ_m$ generate a subgroup isomorphic to $C_n \bic C_m$, the isomorphism being given by $a \mapsto A$, $b \mapsto B$. \end{theorem} \begin{proof} If $(\theta, \, \varphi) \in \MP (n, \, m)$, then \equref{D1} and \equref{D2} are exactly \equref{15} and \equref{16} for $y = 1$, and the other conditions are \equref{13} and \equref{14}. Conversely, assume that $\theta (0) = 0$, $\varphi (0) = 0$, $r \, | \, m$, $s \, | \, n$ and that \equref{D1} and \equref{D2} hold. First of all, we note that the right hand sides of \equref{D1} and \equref{D2} make sense: $\varphi^z (1) \in \bZ_m$ and the power $\theta^{\varphi^z (1)}$ is well defined since $r \, | \, m$; similarly, $\theta^w (1) \in \bZ_n$ and $\varphi^{\theta^w (1)}$ is well defined since $s \, | \, n$. We divide the rest of the proof into four steps. \textbf{Step 1: \equref{D1} and \equref{D2} in terms of permutations.} Since $\tau_n^z (x) = x + z$, condition \equref{D1} says that $\theta \bigl( \tau_n^z (x) \bigr) = \tau_n^{\theta (z)} \bigl( \theta^{\varphi^z (1)} (x) \bigr)$, for all $x$. Thus \equref{D1} and \equref{D2} are equivalent to \begin{equation}\eqlabel{perm1} \theta \, \tau_n^z = \tau_n^{\theta (z)} \, \theta^{\varphi^z (1)}, \qquad \varphi \, \tau_m^w = \tau_m^{\varphi (w)} \, \varphi^{\theta^w (1)} \end{equation} for all $z \in \bZ_n$ and $w \in \bZ_m$. \textbf{Step 2: the dual identities.} We prove that \begin{equation}\eqlabel{perm2} \varphi^x \, \tau_m = \tau_m^{\varphi^x (1)} \, \varphi^{\theta (x)}, \qquad \theta^y \, \tau_n = \tau_n^{\theta^y (1)} \, \theta^{\varphi (y)} \end{equation} for all integers $x$, $y \geq 0$. We prove the first equality by induction on $x$; the second one is proved in the same way, by interchanging the roles of $\theta$ and $\varphi$. For $x = 0$ the equality reads $\tau_m = \tau_m \, \varphi^{\theta (0)}$, which holds since $\theta (0) = 0$. Assume that it holds for some $x \geq 0$. Using the induction hypothesis and then the second equality of \equref{perm1} for $w = \varphi^x (1)$, we obtain \begin{equation*} \varphi^{x + 1} \, \tau_m = \varphi \, \bigl( \varphi^x \, \tau_m \bigr) = \varphi \, \tau_m^{\varphi^x (1)} \, \varphi^{\theta (x)} = \tau_m^{\varphi^{x + 1} (1)} \, \varphi^{\theta^{\varphi^x (1)} (1)} \, \varphi^{\theta (x)} = \tau_m^{\varphi^{x + 1} (1)} \, \varphi^{\theta^{\varphi^x (1)} (1) + \theta (x)}. \end{equation*} On the other hand, \equref{D1} for $z = x$ and $x = 1$ gives $\theta (x + 1) - \theta (x) = \theta^{\varphi^x (1)} (1)$. This is an equality in $\bZ_n$, and it also holds in $\bZ_s$ since $s \, | \, n$. Hence $\varphi^{\theta^{\varphi^x (1)} (1) + \theta (x)} = \varphi^{\theta (x + 1)}$, and we obtain $\varphi^{x + 1} \, \tau_m = \tau_m^{\varphi^{x + 1} (1)} \, \varphi^{\theta (x + 1)}$, as needed. \textbf{Step 3: the relations between $A$ and $B$.} Let $E := \langle A, \, B \rangle$ be the subgroup of $\Sym (\bZ_n \sqcup \bZ_m)$ generated by \begin{equation*} A (x) = x + 1, \quad A (y) = \varphi^{-1} (y), \qquad B (x) = \theta (x), \quad B (y) = y - 1, \end{equation*} for all $x \in \bZ_n$ and $y \in \bZ_m$. Since $\ord (\tau_n) = n$ and $\ord (\varphi) = s$ divides $n$, we have $A^n = 1$; similarly, $B^m = 1$. We claim that \begin{equation}\eqlabel{relE} B A^x = A^{\theta (x)} \, B^{\varphi^x (1)}, \qquad B^y A = A^{\theta^y (1)} \, B^{\varphi (y)} \end{equation} for all $x$, $y \geq 0$. Both sides of each equality preserve $\bZ_n$ and $\bZ_m$, so we can compare them on each component: \begin{itemize} \item on $\bZ_n$, the first equality of \equref{relE} reads $\theta \, \tau_n^x = \tau_n^{\theta (x)} \, \theta^{\varphi^x (1)}$, which is the first equality of \equref{perm1}; \item on $\bZ_m$, the first equality of \equref{relE} reads $\tau_m^{-1} \, \varphi^{-x} = \varphi^{- \theta (x)} \, \tau_m^{- \varphi^x (1)}$; taking inverses, this is equivalent to $\varphi^x \, \tau_m = \tau_m^{\varphi^x (1)} \, \varphi^{\theta (x)}$, i.e. to the first equality of \equref{perm2}; \item on $\bZ_n$, the second equality of \equref{relE} reads $\theta^y \, \tau_n = \tau_n^{\theta^y (1)} \, \theta^{\varphi (y)}$, which is the second equality of \equref{perm2}; \item on $\bZ_m$, the second equality of \equref{relE} reads $\tau_m^{-y} \, \varphi^{-1} = \varphi^{- \theta^y (1)} \, \tau_m^{- \varphi (y)}$; taking inverses, this is $\varphi \, \tau_m^y = \tau_m^{\varphi (y)} \, \varphi^{\theta^y (1)}$, i.e. the second equality of \equref{perm1}. \end{itemize} \textbf{Step 4: $E$ factorizes exactly through $\langle A \rangle$ and $\langle B \rangle$.} Let $P := \{A^x B^y \, | \, x \in \bZ_n, \, y \in \bZ_m \} \subseteq E$. The set $P$ contains $1$ and it is closed under left multiplication by $A$. It is also closed under left multiplication by $B$, since, by the first equality of \equref{relE}, \begin{equation*} B \, A^x B^y = A^{\theta (x)} \, B^{\varphi^x (1) + y} \in P. \end{equation*} As $A^{-1} = A^{n - 1}$ and $B^{-1} = B^{m - 1}$, any element of $E$ is a product of copies of $A$ and $B$; hence $E = P$. Next, the elements of $P$ are pairwise distinct. Indeed, since $\theta (0) = 0$, the permutation $A^x B^y$ maps $0 \in \bZ_n$ to $A^x \bigl( \theta^y (0) \bigr) = x$. Thus $A^x B^y = A^{x'} B^{y'}$ implies $x = x'$, then $B^y = B^{y'}$, and on the component $\bZ_m$ this gives $\tau_m^{- y} = \tau_m^{- y'}$, i.e. $y = y'$. Therefore $|E| = nm$, $A$ has order $n$, $B$ has order $m$, $\langle A \rangle \cap \langle B \rangle = \{1\}$ and $E = \langle A \rangle \langle B \rangle$. Finally, by \cite[Theorem 1.4]{ACIM}, $E \cong \langle A \rangle \bic \langle B \rangle$, for the matched pair defined by \equref{gh}. By \equref{relE}, this matched pair is given by $B \la A^x = A^{\theta (x)}$ and $B^y \ra A = B^{\varphi (y)}$, i.e. its associated pair \equref{thetaphi} with respect to the generators $A$ and $B$ is $(\theta, \, \varphi)$. By \prref{AIM}, $(\theta, \, \varphi) \in \MP (n, \, m)$. Moreover, the multiplication rules \equref{inmult} of $C_n \bic C_m$ and of $E$ coincide, so the map $a^x b^y \mapsto A^x B^y$ is an isomorphism of groups. This finishes the proof. \end{proof} \begin{remarks}\relabel{douglasrem} \begin{enumerate}[(1)] \item \thref{douglas} provides a cheap certificate: $(\theta, \, \varphi) \in \MP (n, \, m)$ if and only if $\theta (0) = 0 = \varphi (0)$, $r \, | \, m$, $s \, | \, n$ and $|\langle A, \, B \rangle| = nm$. We have used it to double check all our computations. The two actions of $E = \langle A, \, B \rangle$ on $\bZ_n$ and on $\bZ_m$ are the actions on the cosets of $\langle b \rangle$ and of $\langle a \rangle$, respectively. \item Since $\theta$ fixes $0$, its orbits are contained in $\bZ_n \setminus \{0\}$. It follows from \cite[Theorem VIII]{D1} that $r < n$ if $n > 1$ and, similarly, $s < m$ if $m > 1$. This also follows from a theorem of Lucchini \cite{Lu}: a transitive permutation group of degree $n$ with cyclic point stabilizer has order at most $n^2 - n$. We apply it to the group $\langle \tau_n, \, \theta \rangle$: by \equref{perm1} and \equref{perm2}, $\langle \tau_n, \, \theta \rangle = \langle \tau_n \rangle \langle \theta \rangle$ has order $nr$ and the stabilizer of $0$ is $\langle \theta \rangle$. Hence $nr \leq n^2 - n$, i.e. $r \leq n - 1$. \end{enumerate} \end{remarks} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \subsection{Matched pairs and reciprocal pairs of skew morphisms}\sselabel{skew} The matched pairs between two finite cyclic groups were studied, in a different language, in \cite{HNWY, FHNSW}. In this subsection we compare the two languages and we indicate exactly which results coincide. Recall from \cite{JS} that a \emph{skew morphism} of a finite group $X$ is a permutation $\sigma$ of $X$ with $\sigma (1) = 1$, for which there exists a map $\pi \colon X \to \bZ$, called a \emph{power function} of $\sigma$, such that \begin{equation}\eqlabel{skewdef} \sigma (xy) = \sigma (x) \, \sigma^{\pi (x)} (y) \end{equation} for all $x$, $y \in X$. We start with a general observation: a skew morphism is nothing but the left action of a generator in a matched pair whose second group is cyclic, and \equref{skewdef} is the first compatibility condition of \equref{mp}. \begin{proposition}\prlabel{skewmp} Let $X$ be a finite group. \begin{enumerate}[(1)] \item Let $(X, \, C_k, \, \la, \, \ra)$ be a matched pair, $C_k = \langle c \rangle$. Define $\sigma (x) := c \la x$ and $\pi \colon X \to \bZ$ by $c \ra x = c^{\pi (x)}$, for all $x \in X$. Then $\sigma$ is a skew morphism of $X$ with power function $\pi$. \item Conversely, any skew morphism of $X$ is obtained in this way, for $k = \ord (\sigma)$ and a suitable matched pair $(X, \, C_k, \, \la, \, \ra)$. \end{enumerate} \end{proposition} \begin{proof} (1) $\sigma$ is a bijection, with inverse $c^{-1} \la -$, and $\sigma (1) = c \la 1 = 1$ by \cite[Remark 1.2]{ACIM}. Since $\la$ is a left action, $c^{\pi (x)} \la y = \sigma^{\pi (x)} (y)$. Hence the first compatibility condition of \equref{mp}, written for $g = c$, $h_1 = x$ and $h_2 = y$, gives \begin{equation*} \sigma (xy) = c \la (xy) = (c \la x) \bigl( (c \ra x) \la y \bigr) = (c \la x) \bigl( c^{\pi (x)} \la y \bigr) = \sigma (x) \, \sigma^{\pi (x)} (y). \end{equation*} (2) Let $\sigma$ be a skew morphism of $X$ with power function $\pi$ and $k := \ord (\sigma)$. For $x \in X$ let $L_x \in \Sym (X)$, $L_x (y) := xy$; the map $x \mapsto L_x$ is an injective morphism of groups and we denote by $L_X$ its image. By \equref{skewdef}, $\sigma L_x (y) = \sigma (x) \, \sigma^{\pi (x)} (y)$, that is \begin{equation}\eqlabel{skewL} \sigma \, L_x = L_{\sigma (x)} \, \sigma^{\pi (x)} \end{equation} for all $x \in X$. Applying \equref{skewL} repeatedly we obtain $\sigma^i L_x \in L_X \langle \sigma \rangle$, for all $i \geq 0$ and $x \in X$; thus $\langle \sigma \rangle L_X \subseteq L_X \langle \sigma \rangle$. Moreover, $L_X \cap \langle \sigma \rangle = \{\id\}$: if $\sigma^i = L_x$, then $x = L_x (1) = \sigma^i (1) = 1$. Hence $|L_X \langle \sigma \rangle| = |X| \, k = |\langle \sigma \rangle L_X|$, so $\langle \sigma \rangle L_X = L_X \langle \sigma \rangle$, and $L_X \langle \sigma \rangle$ is a subgroup of $\Sym (X)$ which factorizes exactly through $L_X \cong X$ and $\langle \sigma \rangle \cong C_k$. By \equref{gh} and \equref{skewL}, the associated matched pair is given by $\sigma \la L_x = L_{\sigma (x)}$ and $\sigma \ra L_x = \sigma^{\pi (x)}$. Identifying $X$ with $L_X$ and taking $c := \sigma$, we obtain $c \la x = \sigma (x)$ and $c \ra x = c^{\pi (x)}$, as needed. \end{proof} Part (1) of \prref{skewmp} is also observed, in the language of cyclic complements, in \cite[p. 73]{CJT}, and (2) is the well known construction of the skew product group of a skew morphism \cite{JS, CJT}. Let now $(\theta, \, \varphi) \in \MP (n, \, m)$. By \prref{skewmp} (1), applied for the generator $b$ of $C_m$ and written additively, $\theta$ is a skew morphism of $\bZ_n$ whose power function is $z \mapsto \varphi^z (1)$, since $b \ra a^z = b^{\varphi^z (1)}$; this is exactly condition \equref{D1}, written as $\theta (z + x) = \theta (z) + \theta^{\varphi^z (1)} (x)$. In the same way, condition \equref{D2} says that $\varphi$ is a skew morphism of $\bZ_m$ whose power function is $w \mapsto \theta^w (1)$. Therefore, \thref{douglas} can be restated as follows: \emph{$(\theta, \, \varphi) \in \MP (n, \, m)$ if and only if $\theta$ is a skew morphism of $\bZ_n$ with power function $z \mapsto \varphi^z (1)$, $\varphi$ is a skew morphism of $\bZ_m$ with power function $w \mapsto \theta^w (1)$, $\ord (\theta) \, | \, m$ and $\ord (\varphi) \, | \, n$.} These are, word for word, the conditions of \cite[Corollary 3.9]{FHNSW}, which characterize the $(m, n)$-\emph{reciprocal pairs of skew morphisms} of $\bZ_n$ and $\bZ_m$ introduced in \cite[Definition 3.2]{FHNSW}. \tabref{dictionary} summarizes the dictionary between the three languages. \begin{table}[ht] \centering\small \renewcommand{\arraystretch}{1.25} \begin{tabular}{>{\raggedright\arraybackslash}p{4.3cm}>{\raggedright\arraybackslash}p{5.4cm}>{\raggedright\arraybackslash}p{4.9cm}} \toprule Douglas \cite{D1, D2, D3, D4} (1951) & Matched pairs \cite{Takeuchi, ACIM, AIM} & Skew morphisms \cite{HNWY, FHNSW} \\ \midrule pair of conjugate special substitutions $(\theta, \, \varphi)$ \cite[Theorem I]{D1} & $(\theta, \, \varphi) \in \MP (n, \, m)$, i.e. a matched pair $(C_n, \, C_m, \, \la, \, \ra)$ \cite[Proposition 2.1]{AIM} & $(m, n)$-reciprocal pair of skew morphisms $(\phi, \, \phi^*)$ \cite[Definition 3.2]{FHNSW} \\ special substitution $\theta$ \cite[Theorem II]{D1} & the permutation $\theta$ given by $b \la a^x = a^{\theta (x)}$ & skew morphism $\phi$ of $\bZ_n$ \cite{JS} \\ --- & the exponents $\varphi^z (1)$ given by $b \ra a^z = b^{\varphi^z (1)}$ & power function $\pi (z) = \phi^{*z} (1)$ \cite[Corollary 3.9]{FHNSW} \\ criterion stated without proof \cite[\S 3]{D1} & \thref{douglas} & \cite[Corollary 3.9]{FHNSW} \\ --- & exact factorizations with distinguished generators $\leftrightarrow$ matched pairs: \cite{Takeuchi}, \cite[Theorems 1.3, 1.4]{ACIM}, with \cite[Proposition 2.1]{AIM} & exact bicyclic triples $\leftrightarrow$ reciprocal pairs \cite[Theorem 3.5, (ii)$\Leftrightarrow$(iii)]{FHNSW} \\ --- & permutation representation of degree $n + m$ (\thref{douglas}) & \cite[Proposition 3.4]{FHNSW} \\ self-conjugate substitutions $\theta = \varphi$ (see \cite[(87)]{D2}) & pairs $(\theta, \, \theta) \in \MP (n, \, n)$ & symmetric skew morphisms \cite[Section 5]{FHNSW} \\ the example $\theta = \varphi = (1 \, 3 \, 5 \, 7)$ \cite[(87)]{D2} & $\bigl( (1 \, 3 \, 5 \, 7), \, (1 \, 3 \, 5 \, 7) \bigr) \in \MP (8, \, 8)$ & \cite[Example 5.6]{FHNSW} \\ \bottomrule \end{tabular} \caption{The same objects in three languages.}\label{tab:dictionary} \end{table} More precisely, the comparison gives the following list. \begin{enumerate}[(a)] \item The set of all $(m, n)$-reciprocal pairs of skew morphisms of $\bZ_n$ and $\bZ_m$ \cite[Definition 3.2]{FHNSW} is exactly the set $\MP (n, \, m)$ of Douglas' pairs of conjugate special substitutions, i.e. of matched pairs $(C_n, \, C_m, \, \la, \, \ra)$. \cite[Corollary 3.9]{FHNSW} is \thref{douglas}, i.e. the criterion stated by Douglas in \cite[\S 3]{D1}. We note that \cite[(3.2)]{FHNSW} attaches the pair $(\phi, \, \phi^*)$ to a triple $(G; \, a, \, b)$ by using the two products $a b^x$ and $b a^y$; thus, for a given group, their pair is not literally our pair for the same generators, but the two sets of pairs coincide, by \cite[Corollary 3.9]{FHNSW}. \item The bijection between exact bicyclic triples and reciprocal pairs, i.e. the equivalence (ii)$\Leftrightarrow$(iii) of \cite[Theorem 3.5]{FHNSW}, is the particular case of two cyclic groups of the bijection between exact factorizations and matched pairs \cite{Takeuchi}, \cite[Theorems 1.3 and 1.4]{ACIM}, combined with \cite[Proposition 2.1]{AIM}, which is \cite[Theorem I]{D1}. The new part of \cite[Theorem 3.5]{FHNSW} is the connection with complete regular dessins, which relies on \cite[Theorem 2.1]{FHNSW}. In particular, $|\MP (n, \, m)|$ is the number of isomorphism classes of complete regular dessins with underlying graph $K_{m, n}$, and Table~\ref{tab:mp} below can be read in this way. \item The permutation group of \cite[Proposition 3.4]{FHNSW}, generated by $a = \phi \rho^*$ and $b = \phi^* \rho$ acting on $\bZ_n \sqcup \bZ_m$, is, up to the different conventions for the generators, the permutation representation of degree $n + m$ of \thref{douglas}. \item The symmetric skew morphisms of \cite[Section 5]{FHNSW} are the self-conjugate substitutions of Douglas, i.e. the pairs $(\theta, \, \theta) \in \MP (n, \, n)$. The skew morphism $(1 \, 3 \, 5 \, 7)$ of $\bZ_8$ in \cite[Example 5.6]{FHNSW} is Douglas' example \cite[(87)]{D2}. Our computations show that $\MP (8, \, 8)$ contains exactly $6$ pairs of the form $(\theta, \, \theta)$, in accordance with \cite[Example 5.6]{FHNSW}. \item \cite[Example 3.8]{FHNSW}, taken from \cite[Remark 3]{HNWY}, lists the $27$ reciprocal pairs for $\bZ_9$ and $\bZ_{27}$. In our language, $|\MP (9, \, 27)| = 27$: there are $15$ pairs with both $\theta$ and $\varphi$ linear and $12$ pairs with $\theta$ linear and $\varphi$ not linear, in accordance with our computations (\reref{algoritm} (3)). The list of \cite[Remark 3]{HNWY} also gives the $4$ corresponding groups, in accordance with our tables. The reciprocal pairs in which one of the two skew morphisms is an automorphism, i.e. $\theta$ or $\varphi$ is linear, are described in \cite[Theorem 14]{HNWY}. In the simplest case ($s = 1$ in the notation of \cite{HNWY}), the formulas of \cite[Remark 1]{HNWY} read $\theta (x) = x + rk \sum_{i = 1}^{x} t^{i - 1}$ and $\varphi (y) = ty$; up to the interchange of the two cyclic groups, this is exactly the form of the matched pairs of \cite[Theorem 2.5]{AIM}. We recall that if $n = p$ is a prime, then $\theta$ is always linear \cite[Theorem XXIV]{D2}, and the matched pairs were described in this case in \cite[Theorem 2.5]{AIM}. \item The bibliography of \cite{FHNSW} contains none of the papers \cite{Takeuchi, ACIM, AIM, AM}. Of Douglas' work it contains only the later note \cite{D5} on the supersolvability of bicyclic groups, and not the notes \cite{D1, D2, D3, D4}, where the system \equref{13}-\equref{16}, the criterion of \thref{douglas} and the self-conjugate substitutions appear. The same holds for \cite{HNWY}: its bibliography contains none of the papers \cite{D1, D2, D3, D4, D5, Takeuchi, ACIM, AIM, AM}. \end{enumerate} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{The resolution of a matched pair and the lifting theorem}\selabel{lift} Let $(\theta, \, \varphi) \in \MP (n, \, m)$, $E = C_n \bic C_m$, $r = \ord (\theta)$ and $s = \ord (\varphi)$. The following lemma is a version of \cite[Theorem XVI]{D2} and of the construction of the first derived group in Douglas' resolution \cite[\S 14]{D2}. \begin{lemma}\lelabel{core} With the above notation, the following hold: \begin{enumerate}[(1)] \item $\core_E \langle a \rangle = \{a^t \, | \, \varphi^t = \id\} = \langle a^s \rangle$ and $\core_E \langle b \rangle = \{b^t \, | \, \theta^t = \id\} = \langle b^r \rangle$; \item $\theta (x + s) = \theta (x) + \theta (s)$, $s \, | \, \theta (s)$, $\varphi (y + r) = \varphi (y) + \varphi (r)$ and $r \, | \, \varphi (r)$, for all $x \in \bZ_n$ and $y \in \bZ_m$; \item $N := \langle a^s \rangle \langle b^r \rangle$ is a normal subgroup of $E$, and $E/N$ factorizes exactly through $\langle \overline{a} \rangle \cong C_s$ and $\langle \overline{b} \rangle \cong C_r$; \item the maps $\overline{\theta} \colon \bZ_s \to \bZ_s$, $\overline{\theta} (x + s\bZ) := \theta (x) + s\bZ$, and $\overline{\varphi} \colon \bZ_r \to \bZ_r$, $\overline{\varphi} (y + r\bZ) := \varphi (y) + r\bZ$, are well defined, $(\overline{\theta}, \, \overline{\varphi}) \in \MP (s, \, r)$, and $(\overline{\theta}, \, \overline{\varphi})$ is the pair associated to the matched pair of the factorization $E/N = \langle \overline{a} \rangle \langle \overline{b} \rangle$. \end{enumerate} \end{lemma} \begin{proof} (1) Recall that $\core_E \langle a \rangle = \bigcap_{h \in E} h \langle a \rangle h^{-1}$. Thus $a^t \in \core_E \langle a \rangle$ if and only if $h a^t h^{-1} \in \langle a \rangle$ for all $h \in E$. Since $E = \langle b \rangle \langle a \rangle$, any $h \in E$ can be written as $h = b^y a^x$, and then $h a^t h^{-1} = b^y a^t b^{-y}$. By \equref{inmult}, \begin{equation*} b^y a^t b^{-y} = a^{\theta^y (t)} \, b^{\varphi^t (y) - y}. \end{equation*} Since the factorization is exact, this element belongs to $\langle a \rangle$ if and only if $\varphi^t (y) = y$. Hence $a^t \in \core_E \langle a \rangle$ if and only if $\varphi^t (y) = y$ for all $y$, i.e. $\varphi^t = \id$, i.e. $s \, | \, t$. Thus $\core_E \langle a \rangle = \langle a^s \rangle$. In the same way, any $h \in E$ can be written as $h = a^x b^y$, and $b^t \in \core_E \langle b \rangle$ if and only if $a^{-x} b^t a^x \in \langle b \rangle$ for all $x$. By \equref{inmult}, \begin{equation*} a^{-x} b^t a^x = a^{\theta^t (x) - x} \, b^{\varphi^x (t)}, \end{equation*} which belongs to $\langle b \rangle$ if and only if $\theta^t (x) = x$. Hence $\core_E \langle b \rangle = \{b^t \, | \, \theta^t = \id\} = \langle b^r \rangle$. (2) Take $z = s$ in \equref{D1}. Since $\varphi^s = \id$, we have $\varphi^s (1) = 1$, and we obtain $\theta (x + s) - \theta (s) = \theta (x)$, i.e. $\theta (x + s) = \theta (x) + \theta (s)$. On the other hand, $\langle a^s \rangle = \core_E \langle a \rangle$ is a normal subgroup of $E$, so $b a^s b^{-1} \in \langle a^s \rangle$. By \equref{inmult}, $b a^s = a^{\theta (s)} b^{\varphi^s (1)} = a^{\theta (s)} b$, i.e. $b a^s b^{-1} = a^{\theta (s)}$. Hence $a^{\theta (s)} \in \langle a^s \rangle$, i.e. $s \, | \, \theta (s)$. The other two assertions are proved in the same way, using \equref{D2} for $w = r$ and the relation $a^{-1} b^r a = b^{\varphi (r)}$, which follows from $b^r a = a^{\theta^r (1)} b^{\varphi (r)} = a \, b^{\varphi (r)}$. (3) By (1), $\langle a^s \rangle$ and $\langle b^r \rangle$ are normal subgroups of $E$, hence their product $N$ is a normal subgroup. We have $N \cap \langle a \rangle = \langle a^s \rangle$: indeed, if $a^x = a^{si} b^{rj}$, then $b^{rj} = a^{x - si} \in \langle a \rangle \cap \langle b \rangle = \{1\}$, so $a^x = a^{si}$. Similarly, $N \cap \langle b \rangle = \langle b^r \rangle$. In particular, $\langle a^s \rangle \cap \langle b^r \rangle = \{1\}$, so $|N| = (n/s) (m/r)$ and $|E/N| = sr$. The image $\overline{a}$ of $a$ in $E/N$ has order $s$, since $\overline{a}^x = 1$ if and only if $a^x \in N \cap \langle a \rangle = \langle a^s \rangle$; similarly, $\overline{b}$ has order $r$. Since $E = \langle a \rangle \langle b \rangle$, we have $E/N = \langle \overline{a} \rangle \langle \overline{b} \rangle$, and as $|\langle \overline{a} \rangle| \, |\langle \overline{b} \rangle| = sr = |E/N|$, the factorization is exact. (4) Applying the canonical projection $E \to E/N$ to \equref{inmult} we obtain \begin{equation*} \overline{b} \, \overline{a}^x = \overline{a}^{\theta (x)} \, \overline{b}^{\varphi^x (1)}, \qquad \overline{b}^y \, \overline{a} = \overline{a}^{\theta^y (1)} \, \overline{b}^{\varphi (y)} \end{equation*} for all $x \in \bZ_n$ and $y \in \bZ_m$. Let $x \equiv x'$ (mod $s$). Then $\overline{a}^x = \overline{a}^{x'}$, so $\overline{a}^{\theta (x)} \, \overline{b}^{\varphi^x (1)} = \overline{a}^{\theta (x')} \, \overline{b}^{\varphi^{x'} (1)}$ and, by the exactness of the factorization of $E/N$, $\overline{a}^{\theta (x)} = \overline{a}^{\theta (x')}$, i.e. $\theta (x) \equiv \theta (x')$ (mod $s$). Thus $\overline{\theta}$ is well defined and $\overline{b} \la \overline{a}^x = \overline{a}^{\overline{\theta} (x)}$, where $\la$ is the left action of the matched pair of the factorization $E/N = \langle \overline{a} \rangle \langle \overline{b} \rangle$. In the same way, the second relation shows that $\overline{\varphi}$ is well defined and $\overline{b}^y \ra \overline{a} = \overline{b}^{\overline{\varphi} (y)}$. Hence $(\overline{\theta}, \, \overline{\varphi})$ is the pair associated to this matched pair, and $(\overline{\theta}, \, \overline{\varphi}) \in \MP (s, \, r)$ by \cite[Theorem 1.4]{ACIM} and \prref{AIM}. \end{proof} We shall call $(\overline{\theta}, \, \overline{\varphi}) \in \MP (s, \, r)$ the \emph{quotient pair} of $(\theta, \, \varphi)$. In Douglas' language, $\overline{\varphi}$ is the derivative $\theta_1$ of $\theta$ and $\overline{\theta}$ is the derivative $\varphi_1$ of $\varphi$ (see \cite[Theorem III]{D1}, \cite[Theorem VI]{D1} and \cite[Theorem XXVII]{D2}). The next definition introduces the sets of all possible \emph{liftings} of a quotient pair. \begin{definition}\delabel{lift} Let $s \, | \, n$, $r \, | \, m$ and $(\theta', \, \varphi') \in \MP (s, \, r)$. \begin{enumerate}[(1)] \item $\Theta_n (\theta', \, \varphi')$ is the set of all $\theta \in \Sym (\bZ_n)$ such that $\theta (0) = 0$, $\ord (\theta) = r$, $\theta (x) \equiv \theta' (x)$ (mod $s$) and \begin{equation}\eqlabel{liftt} \theta (x + z) - \theta (z) = \theta^{\varphi'^{\, z} (1)} (x) \end{equation} for all $x$, $z \in \bZ_n$. \item $\Phi_m (\theta', \, \varphi')$ is the set of all $\varphi \in \Sym (\bZ_m)$ such that $\varphi (0) = 0$, $\ord (\varphi) = s$, $\varphi (y) \equiv \varphi' (y)$ (mod $r$) and \begin{equation}\eqlabel{liftf} \varphi (y + w) - \varphi (w) = \varphi^{\theta'^{\, w} (1)} (y) \end{equation} for all $y$, $w \in \bZ_m$. \end{enumerate} \end{definition} In \equref{liftt} we have $\varphi'^{\, z} (1) \in \bZ_r$; the power $\varphi'^{\, z}$ makes sense for $z \in \bZ_n$ since $\ord (\varphi')$ divides $s$, which divides $n$, and the power $\theta^{\varphi'^{\, z} (1)}$ makes sense since $\ord (\theta) = r$. The same remarks apply to \equref{liftf}. Note that $\Theta_n (\theta', \, \varphi')$ depends only on $\theta \in \Sym (\bZ_n)$, while $\Phi_m (\theta', \, \varphi')$ depends only on $\varphi \in \Sym (\bZ_m)$. The main result of this section shows that the matched pairs between $C_n$ and $C_m$ are exactly the pairs of liftings, and that the two liftings can be chosen independently of each other. \begin{theorem}\thlabel{lifting} Let $n$, $m$ be two positive integers. Then \begin{equation}\eqlabel{descomp} \MP (n, \, m) = \bigsqcup_{s \, | \, n, \; r \, | \, m} \;\; \bigsqcup_{(\theta', \, \varphi') \in \MP (s, \, r)} \Theta_n (\theta', \, \varphi') \times \Phi_m (\theta', \, \varphi'). \end{equation} More precisely, for any $(\theta, \, \varphi) \in \MP (n, \, m)$, the pair $(s, \, r) = (\ord (\varphi), \, \ord (\theta))$ and the quotient pair $(\theta', \, \varphi') = (\overline{\theta}, \, \overline{\varphi})$ are the unique indices of the union for which $(\theta, \, \varphi) \in \Theta_n (\theta', \, \varphi') \times \Phi_m (\theta', \, \varphi')$. In particular, \begin{equation}\eqlabel{numar} |\MP (n, \, m)| = \sum_{s \, | \, n, \; r \, | \, m} \;\; \sum_{(\theta', \, \varphi') \in \MP (s, \, r)} |\Theta_n (\theta', \, \varphi')| \cdot |\Phi_m (\theta', \, \varphi')|, \end{equation} and if $n$, $m \geq 2$, only the terms with $r < n$ and $s < m$ can be non-zero. \end{theorem} \begin{proof} We first prove that the right hand side of \equref{descomp} is contained in $\MP (n, \, m)$ and that the union is disjoint. Let $s \, | \, n$, $r \, | \, m$, $(\theta', \, \varphi') \in \MP (s, \, r)$, $\theta \in \Theta_n (\theta', \, \varphi')$ and $\varphi \in \Phi_m (\theta', \, \varphi')$. We check the conditions of \thref{douglas}. Clearly, $\theta (0) = 0 = \varphi (0)$, $\ord (\theta) = r$ divides $m$ and $\ord (\varphi) = s$ divides $n$. We prove now that \equref{D1} holds. Since $\varphi (y) \equiv \varphi' (y)$ (mod $r$) for all $y \in \bZ_m$, we obtain by induction on $z$ that \begin{equation}\eqlabel{congr} \varphi^z (y) \equiv \varphi'^{\, z} (y) \quad ({\rm mod} \,\, r) \end{equation} for all $z \geq 0$ and $y \in \bZ_m$. Indeed, if \equref{congr} holds for $z$, then $\varphi^{z + 1} (y) = \varphi \bigl( \varphi^z (y) \bigr) \equiv \varphi' \bigl( \varphi^z (y) \bigr) \equiv \varphi' \bigl( \varphi'^{\, z} (y) \bigr)$ (mod $r$), where in the last step we used that $\varphi'$ is a map on $\bZ_r$ and $\varphi^z (y) \equiv \varphi'^{\, z} (y)$ (mod $r$). In particular, $\varphi^z (1) \equiv \varphi'^{\, z} (1)$ (mod $r$), and since $\ord (\theta) = r$ we obtain $\theta^{\varphi^z (1)} = \theta^{\varphi'^{\, z} (1)}$. Thus \equref{liftt} is exactly \equref{D1}. In the same way, $\theta^w (1) \equiv \theta'^{\, w} (1)$ (mod $s$) for all $w$, hence $\varphi^{\theta^w (1)} = \varphi^{\theta'^{\, w} (1)}$ and \equref{liftf} is exactly \equref{D2}. By \thref{douglas}, $(\theta, \, \varphi) \in \MP (n, \, m)$. Moreover, $\ord (\varphi) = s$, $\ord (\theta) = r$, and the congruences $\theta (x) \equiv \theta' (x)$ (mod $s$), $\varphi (y) \equiv \varphi' (y)$ (mod $r$) show that $\overline{\theta} = \theta'$ and $\overline{\varphi} = \varphi'$. Hence the indices $(s, \, r)$ and $(\theta', \, \varphi')$ are uniquely determined by $(\theta, \, \varphi)$, i.e. the union in \equref{descomp} is disjoint. Conversely, let $(\theta, \, \varphi) \in \MP (n, \, m)$, $r = \ord (\theta)$ and $s = \ord (\varphi)$. Then $s \, | \, n$ and $r \, | \, m$ by \equref{14}. By \leref{core} (4), $(\theta', \, \varphi') := (\overline{\theta}, \, \overline{\varphi}) \in \MP (s, \, r)$, and by the definition of the quotient pair, $\theta (x) \equiv \theta' (x)$ (mod $s$) and $\varphi (y) \equiv \varphi' (y)$ (mod $r$). As in the first part of the proof, $\varphi^z (1) \equiv \varphi'^{\, z} (1)$ (mod $r$) and $\theta^w (1) \equiv \theta'^{\, w} (1)$ (mod $s$), hence \equref{D1} and \equref{D2}, which hold by \thref{douglas}, become \equref{liftt} and \equref{liftf}. Thus $\theta \in \Theta_n (\theta', \, \varphi')$ and $\varphi \in \Phi_m (\theta', \, \varphi')$. The formula \equref{numar} follows from the fact that the union \equref{descomp} is disjoint. Finally, if $n \geq 2$ then $r = \ord (\theta) < n$ for any $(\theta, \, \varphi) \in \MP (n, \, m)$, and if $m \geq 2$ then $s < m$, by \reref{douglasrem} (2). \end{proof} \begin{remarks}\relabel{algoritm} \begin{enumerate}[(1)] \item \thref{lifting} gives a recursive algorithm for computing $\MP (n, \, m)$. Since $r < n$ and $s < m$, we have $sr < nm$ for $nm > 1$; thus the sets $\MP (s, \, r)$ which appear in \equref{descomp} are known by induction, starting with $\MP (1, \, k) = \MP (k, \, 1) = \{(\id, \, \id)\}$. For each $(\theta', \, \varphi') \in \MP (s, \, r)$, the sets $\Theta_n (\theta', \, \varphi')$ and $\Phi_m (\theta', \, \varphi')$ are computed separately, by a backtracking search. The unknown values $\theta (x)$ lie in the residue classes $\theta' (x) + s \bZ_n$, so at each step there are at most $n/s$ choices; moreover, the conditions \equref{liftt} (for all $z$), $\theta^r = \id$ and the injectivity of $\theta$ propagate very quickly the values already found. Note also that, by \leref{core} (2), $\theta$ is determined by its values $\theta (1), \ldots, \theta (s)$. \item The decomposition \equref{descomp} has the following meaning: once the quotient pair $(\theta', \, \varphi')$ is fixed, the action $\la$ (encoded by $\theta$) and the action $\ra$ (encoded by $\varphi$) of a matched pair can be chosen independently of each other. This is a strong form of the ``reciprocity'' of \cite{FHNSW}. For instance, \cite[Theorem 2.5]{AIM} (the case $n = p$ prime) is the case $s \in \{1, \, p\}$: for $s = p$ we have $r = \ord (\theta) = \gamma$, $\theta' (x) = \theta (x) = tx$, and the $p - 1$ possible $\varphi$'s of \cite[Theorem 2.5]{AIM} form the set $\Phi_m (\theta', \, \varphi')$. \item We have implemented the algorithm in Python, with the backtracking kernel written in C. We have checked it in three independent ways: against a brute force search over all pairs of permutations for $n$, $m \leq 7$; by the certificate of \reref{douglasrem} (1), for every pair computed; and against the results of \cite{HNW} for $n = p^d$, $m = p^e$, $p$ an odd prime, which in our notation read $|\MP (p^d, \, p^e)| = p^{2d - 1}$ for $0 < d < e$ and $|\MP (p^e, \, p^e)| = p^{2e - 2}$. For instance, $|\MP (9, \, 27)| = |\MP (9, \, 81)| = 27$, $|\MP (25, \, 25)| = 25$ and $|\MP (27, \, 27)| = 81$; the $27$ pairs of $\MP (9, \, 27)$ are also listed in \cite[Example 3.8]{FHNSW}. \end{enumerate} \end{remarks} \subsection{Closed formulas in some cases}\sselabel{closed} \thref{lifting} can also be used to obtain closed formulas for $|\MP (n, \, m)|$ for small values of $n$. As in \cite{AM}, for positive integers $k$ and $m$ we denote \begin{equation*} \varsigma (k, \, m) := \{t \in \U (\bZ_m) \, | \, t^k = 1\}. \end{equation*} The pairs $(\id, \, \varphi)$ with $\varphi (y) = ty$, $t \in \varsigma (n, \, m)$, are exactly the matched pairs with trivial $\la$. For $n = p$ prime the answer is \cite[Theorem 2.5]{AIM}. The next result deals with the first composite value, $n = 4$. We denote by $\omega (k)$ the number of distinct prime divisors of $k$ ($\omega (1) = 0$). \begin{proposition}\prlabel{n4} Let $m \geq 2$ be an integer. Then \begin{equation*} |\MP (4, \, m)| = \begin{cases} |\varsigma (4, \, m)|, & \text{if $m$ is odd,} \\ |\varsigma (4, \, m)| + |\varsigma (2, \, m)|, & \text{if $m$ is even and $8 \nmid m$,} \\ |\varsigma (4, \, m)| + |\varsigma (2, \, m)| + 2^{1 + \omega (m/8)}, & \text{if $8 \, | \, m$.} \end{cases} \end{equation*} More precisely, $(\theta, \, \varphi) \in \MP (4, \, m)$ if and only if one of the following holds: \begin{enumerate}[(a)] \item $\theta = \id$ and $\varphi (y) = ty$, with $t \in \varsigma (4, \, m)$; \item $m$ is even, $\theta (x) = -x$ and $\varphi (y) = ty$, with $t \in \varsigma (2, \, m)$; \item $8 \, | \, m$, $\theta (x) = -x$ and \begin{equation}\eqlabel{fi4} \varphi (2k) = 2ck, \qquad \varphi (2k + 1) = d + 2ck, \qquad {\rm for \,\, all} \,\, k \in \bZ, \end{equation} where $d = 2 \delta + 1$, $c = d - m/4$ and $\delta \in \bZ_{m/2}$ is a solution of the congruence $(\delta - m/8) (\delta + 1) \equiv 0$ (mod $m/4$). \end{enumerate} The pairs in (c) are exactly the proper matched pairs with $\ord (\varphi) = 4$. \end{proposition} \begin{proof} We divide the proof into five steps. \textbf{Step 1: the possible $\theta$.} Let $(\theta, \, \varphi) \in \MP (4, \, m)$. We show that $\theta \in \{\id, \, - \id\}$; this is also \cite[Theorem XXIII]{D2}, and a particular case of \cite[Theorem 6.3]{KN1}. By \equref{D1}, for each $z \in \bZ_4$ the translation $T_z \theta$ is a power of $\theta$. As $\theta (0) = 0$, $\theta$ is a permutation of $\{1, \, 2, \, 3\}$. If $\theta = (1 \, 2)$, then $T_1 \theta (1) = \theta (2) - \theta (1) = -1 = 3$, which does not belong to the orbit $\{1, \, 2\}$ of $1$ under $\theta$; if $\theta = (2 \, 3)$, then $T_1 \theta (1) = \theta (2) - \theta (1) = 2$, which is not in the orbit $\{1\}$. If $\theta = (1 \, 2 \, 3)$, then $T_1 \theta (1) = 3 - 2 = 1$ and $T_1 \theta (2) = 1 - 2 = 3$: thus $T_1 \theta$ fixes $1$ and is not the identity, so it is not a power of the $3$-cycle $\theta$. If $\theta = (1 \, 3 \, 2)$, then $T_2 \theta (1) = \theta (3) - \theta (2) = 2 - 1 = 1$ and $T_2 \theta (2) = \theta (0) - \theta (2) = 3$, and we conclude in the same way. The only remaining permutations are $\theta = \id$ and $\theta = (1 \, 3) = - \id$. \textbf{Step 2: the case $\theta = \id$.} Then \equref{D1} holds trivially and \equref{D2} reads $\varphi (y + w) - \varphi (w) = \varphi (y)$, i.e. $\varphi$ is additive: $\varphi (y) = ty$, with $t = \varphi (1) \in \U (\bZ_m)$. The condition $\ord (\varphi) \, | \, 4$ means $t^4 = 1$. Conversely, any such pair satisfies the conditions of \thref{douglas}. This gives the $|\varsigma (4, \, m)|$ pairs of (a). \textbf{Step 3: the case $\theta = - \id$; reduction.} Now $r = \ord (\theta) = 2$ must divide $m$. Thus, if $m$ is odd, we obtain only the pairs of (a). Let $m$ be even and $s = \ord (\varphi) \in \{1, \, 2, \, 4\}$. We apply \thref{lifting}. The quotient pair is $(\theta', \, \varphi') \in \MP (s, \, 2)$, where $\theta' = - \id_{\bZ_s}$ and $\varphi' = \id_{\bZ_2}$ (the only permutation of $\bZ_2$ fixing $0$). We have $\Theta_4 (\theta', \, \varphi') = \{- \id\}$, since $\theta (x + z) - \theta (z) = -x = \theta^{\varphi'^{\, z} (1)} (x)$. Moreover, $\theta'^{\, w} (1) = (-1)^w$ in $\bZ_s$. Therefore, by \thref{lifting}, we have to count the permutations $\varphi \in \Sym (\bZ_m)$ such that $\varphi (0) = 0$, $\ord (\varphi) = s$, $\varphi (y) \equiv y$ (mod $2$) and \begin{equation}\eqlabel{condC} \varphi (y + w) - \varphi (w) = \varphi^{(-1)^w} (y), \qquad {\rm for \,\, all} \,\, y, \, w \in \bZ_m. \end{equation} In terms of translations, \equref{condC} says that $T_w \varphi = \varphi$ for $w$ even and $T_w \varphi = \varphi^{-1}$ for $w$ odd. \textbf{Step 4: the case $\theta = - \id$, $s \in \{1, \, 2\}$.} Then $\varphi^{-1} = \varphi$, so \equref{condC} says that $\varphi$ is additive, i.e. $\varphi (y) = ty$ with $t \in \U (\bZ_m)$, and $\ord (\varphi) \, | \, 2$ means $t^2 = 1$. Since $m$ is even, $t$ is odd and $\varphi (y) = ty \equiv y$ (mod $2$). Conversely, any such $\varphi$ satisfies all the conditions above. This gives the $|\varsigma (2, \, m)|$ pairs of (b). \textbf{Step 5: the case $\theta = - \id$, $s = 4$.} Let $M := m/2$. Condition \equref{condC} for $w = 2$ gives $\varphi (y + 2) = \varphi (y) + \varphi (2)$, for all $y$. Since $\varphi (2) \equiv 2 \equiv 0$ (mod $2$), we can write $\varphi (2) = 2c$, with $c \in \bZ_M$, and we put $d := \varphi (1)$, which is odd. By induction on $k$ we obtain that $\varphi$ has the form \equref{fi4}. Conversely, let $\varphi$ be of the form \equref{fi4}. Then $\varphi (y + 2j) = \varphi (y) + 2cj$ for all $y$ and $j$, and therefore \begin{equation*} T_{2j} \varphi (y) = \varphi (y) + 2cj - 2cj = \varphi (y), \qquad T_{2j + 1} \varphi (y) = \varphi (y + 1) + 2cj - (d + 2cj) = T_1 \varphi (y). \end{equation*} Thus, for $\varphi$ of the form \equref{fi4}, condition \equref{condC} is equivalent to $T_1 \varphi = \varphi^{-1}$. Moreover, $\varphi (y) \equiv y$ (mod $2$) holds automatically. Applying $\varphi$, the condition $T_1 \varphi = \varphi^{-1}$ is equivalent to \begin{equation}\eqlabel{condC1} \varphi \bigl( \varphi (y + 1) - d \bigr) = y, \qquad {\rm for \,\, all} \,\, y \in \bZ_m; \end{equation} note that \equref{condC1} also implies that $\varphi$ is surjective, hence a permutation. Write $d = 2 \delta + 1$, with $\delta \in \bZ_M$. We compute both cases of \equref{condC1}, using \equref{fi4}: \begin{itemize} \item for $y = 2k$ even: $\varphi (2k + 1) - d = 2ck$ and $\varphi (2ck) = 2 c^2 k$. Thus \equref{condC1} holds for all even $y$ if and only if $2 (c^2 - 1) k \equiv 0$ (mod $m$) for all $k$, i.e. \begin{equation}\eqlabel{ci} c^2 \equiv 1 \quad ({\rm mod} \,\, M); \end{equation} \item for $y = 2k + 1$ odd: $\varphi (2k + 2) - d = 2c (k + 1) - 2 \delta - 1 = 2 \bigl( c (k + 1) - \delta - 1 \bigr) + 1$, and therefore \begin{equation*} \varphi \bigl( \varphi (2k + 2) - d \bigr) = d + 2c \bigl( c (k + 1) - \delta - 1 \bigr) = d + 2 c^2 (k + 1) - 2c (\delta + 1). \end{equation*} Using \equref{ci}, we have $2 c^2 (k + 1) \equiv 2 (k + 1)$ (mod $m$), so \equref{condC1} holds for all odd $y$ if and only if $d + 1 \equiv 2c (\delta + 1)$ (mod $m$). As $d + 1 = 2 (\delta + 1)$, this means \begin{equation}\eqlabel{cii} (c - 1) (\delta + 1) \equiv 0 \quad ({\rm mod} \,\, M). \end{equation} \end{itemize} Next, we compute the order of $\varphi$. By \equref{fi4} and \equref{ci}, $\varphi^2 (2k) = \varphi (2ck) = 2c^2 k = 2k$ and \begin{equation*} \varphi^2 (2k + 1) = \varphi \bigl( 2 (\delta + ck) + 1 \bigr) = d + 2c (\delta + ck) = 2k + 1 + 2 (c + 1) \delta. \end{equation*} Thus $\varphi^2$ is the identity on the even elements and the translation by $e := 2 (c + 1) \delta$ on the odd elements. Hence $\varphi^4 = \id$ and $\varphi^2 \neq \id$ if and only if $e \not\equiv 0$ and $2e \equiv 0$ (mod $m$), i.e. $e \equiv M$ (mod $m$). As $e$ is even, this forces $M$ to be even, say $M = 2K$, and then $e \equiv M$ (mod $m$) means \begin{equation}\eqlabel{ciii} (c + 1) \delta \equiv K \quad ({\rm mod} \,\, M). \end{equation} We solve the system \equref{ci}-\equref{ciii}. Subtracting \equref{cii} from \equref{ciii} we obtain $2 \delta - c + 1 \equiv K$ (mod $M$), i.e. \begin{equation*} c \equiv 2 \delta + 1 - K = d - K \quad ({\rm mod} \,\, M). \end{equation*} Conversely, if $c \equiv d - K$, then \equref{ciii} follows from \equref{cii}. Replacing $c = 2 \delta + 1 - K$ in \equref{cii}, the system \equref{cii}-\equref{ciii} becomes \begin{equation}\eqlabel{civ} c \equiv d - K \quad ({\rm mod} \,\, M), \qquad (2 \delta - K) (\delta + 1) \equiv 0 \quad ({\rm mod} \,\, 2K). \end{equation} Assume now \equref{civ}. Then \begin{equation*} c^2 - 1 = (c - 1) (c + 1) = (2 \delta - K) \bigl( 2 (\delta + 1) - K \bigr) = 2 (2 \delta - K) (\delta + 1) - K (2 \delta - K) \equiv K^2 \quad ({\rm mod} \,\, 2K), \end{equation*} so \equref{ci} holds if and only if $2K \, | \, K^2$, i.e. $K$ is even. Thus $K = 2L$, $m = 2M = 4K = 8L$; in particular, $8 \, | \, m$, $c = d - 2L = d - m/4$, and the second condition of \equref{civ} reads $(2 \delta - 2L) (\delta + 1) \equiv 0$ (mod $4L$), i.e. \begin{equation*} (\delta - L) (\delta + 1) \equiv 0 \quad ({\rm mod} \,\, 2L), \qquad \delta \in \bZ_{4L}. \end{equation*} This is the congruence of the statement, since $L = m/8$ and $2L = m/4$. We count its solutions. The congruence depends only on $\delta$ modulo $2L$, so the number of its solutions $\delta \in \bZ_{4L}$ is twice the number of its solutions in $\bZ_{2L}$. Put $u := \delta + 1$; the congruence becomes $u \bigl( u - (L + 1) \bigr) \equiv 0$ (mod $2L$). By the Chinese remainder theorem, it is enough to count the solutions modulo each prime power $q^e$ which exactly divides $2L$: \begin{itemize} \item if $q$ is an odd prime dividing $L$, then $q \nmid L + 1$, so $q$ cannot divide both $u$ and $u - (L + 1)$; hence the solutions modulo $q^e$ are $u \equiv 0$ and $u \equiv L + 1$, i.e. there are $2$ solutions; \item if $q = 2$ and $L$ is even, the same argument gives $2$ solutions modulo $2^e$; \item if $q = 2$ and $L$ is odd, then $e = 1$, $L + 1$ is even and $u (u - (L + 1)) \equiv u$ (mod $2$), so there is only $1$ solution. \end{itemize} In both cases the number of solutions in $\bZ_{2L}$ is $2^{\omega (L)}$, so there are $2 \cdot 2^{\omega (L)} = 2^{1 + \omega (m/8)}$ solutions $\delta \in \bZ_{4L}$. Each of them gives a different $\varphi$ (since $\varphi (1) = d = 2 \delta + 1$), and all these $\varphi$ have order $4$. This gives the pairs of (c), and the proof is finished: for $m$ even and $8 \nmid m$ there are no pairs of type (c), while for $8 \, | \, m$ there are exactly $2^{1 + \omega (m/8)}$ of them. \end{proof} For instance, $|\MP (4, \, 8)| = 4 + 4 + 2 = 10$ and $|\MP (4, \, 48)| = 16 + 8 + 8 = 32$. In the same way one can treat other small values of $n$ (for $n = p^d$ and $m = p^e$, with $p$ an odd prime, $|\MP (n, \, m)|$ was computed in \cite{HNW}); however, the number of cases increases quickly with the number of special substitutions of $\bZ_n$. Since every skew morphism of $\bZ_4$ is an automorphism (Step 1 of the above proof), the description of $\MP (4, \, m)$ given in \prref{n4} can also be derived from the general formulas of \cite[Theorem 14]{HNWY}, as observed in \cite[Remark 2]{HNWY}; the explicit form of the pairs and their number are not given there. \prref{n4} is the starting point of the classification of the groups $C_4 \bic C_m$ in \seref{C4}. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{Presentations by generators and relations}\selabel{pres} Let $(\theta, \, \varphi) \in \MP (n, \, m)$. In the literature it is frequently claimed that a presentation of a bicrossed product $H \bic G$ is obtained by adding to the defining relations of $H$ and $G$ the relations $xy = (x \la y) (x \ra y)$, for all generators $x$ of $G$ and $y$ of $H$ (see for instance \cite[(8)]{AKC} and the references therein). For two cyclic groups this would give the presentation \begin{equation*} \langle a, \, b \mid a^n = b^m = 1, \; ba = a^{\theta (1)} b^{\varphi (1)} \rangle. \end{equation*} This is not correct: the group defined by this presentation always maps onto $C_n \bic C_m$, but in general it is bigger, even infinite. \begin{examples}\exlabel{contra} \begin{enumerate}[(1)] \item Let $n = m = 6$. There are three distinct pairs in $\MP (6, \, 6)$ with $\theta (1) = \varphi (1) = 5$, namely \begin{equation*} \theta = \varphi = (1 \, 5)(2 \, 4); \qquad \theta = (1 \, 5 \, 3), \;\; \varphi = (1 \, 5)(2 \, 4); \qquad \theta = (1 \, 5)(2 \, 4), \;\; \varphi = (1 \, 5 \, 3). \end{equation*} The three bicrossed products satisfy the same relation $ba = a^5 b^5$, but they are pairwise different as groups with two distinguished generators. Hence the group $\langle a, \, b \mid a^6 = b^6 = 1, \, ba = a^5 b^5 \rangle$ is none of them. In fact, this group is infinite: the kernel of its projection onto $S_3 \times S_3$, which is a subgroup of index $36$, has abelianization $\bZ^8$. \item Let $n = 3$, $m = 6$, and consider the matched pair $(\alpha_2, \, \beta_3)$ of \cite[Proposition 4.2]{AM}, i.e. $\theta (x) = 2x$ and $\varphi (j) = j + 4$ for $j$ odd, $\varphi (j) = j$ for $j$ even; that is, $\varphi = (1 \, 5 \, 3)$. The bicrossed product is $C_3 \times S_3$, but the group $\langle a, \, b \mid a^3 = b^6 = 1, \, ba = a^2 b^5 \rangle$ is infinite: the kernel of its projection onto $C_3 \times S_3$, which is a subgroup of index $18$, has abelianization $\bZ^2$. On the other hand, the isomorphic matched pair $(\alpha_2, \, \beta_2)$ gives the group $\langle a, \, b \mid a^3 = b^6 = 1, \, ba = a^2 b^3 \rangle$, which is indeed a presentation of $C_3 \times S_3$. \item Let $p = 5$, $M = 4$ and $t = 2$ in \cite[Theorem 2.5]{AIM}. The pair $(\theta_t, \, \varphi_t)$, $\theta_t (x) = 2x$, $\varphi_t (y) = y + (2^{y - 1} + \cdots + 2 + 1) \, 4$, is a matched pair between $C_5$ and $C_{20}$, but the group $K (5, 4, 2) = \langle a, \, b \mid a^5 = b^{20} = 1, \, bab^{-1} = a^2 b^4 \rangle$ of \cite[p. 10]{AIM} has order $1100$, not $100$. \end{enumerate} \end{examples} All the above computations were made with GAP \cite{GAP}. The next result gives a correct presentation of any bicrossed product of two finite cyclic groups. Besides $a^n = b^m = 1$ we only need $\min \{r, \, s\}$ relations. \begin{theorem}\thlabel{prezentare} Let $(\theta, \, \varphi) \in \MP (n, \, m)$, $r = \ord (\theta)$ and $s = \ord (\varphi)$. Then \begin{align} C_n \bic C_m & \cong \bigl\langle a, \, b \mid a^n = b^m = 1, \;\; b a^x = a^{\theta (x)} \, b^{\varphi^x (1)}, \;\; 1 \leq x \leq s \bigr\rangle \eqlabel{prez1}\\ & \cong \bigl\langle a, \, b \mid a^n = b^m = 1, \;\; b^y a = a^{\theta^y (1)} \, b^{\varphi (y)}, \;\; 1 \leq y \leq r \bigr\rangle. \eqlabel{prez2} \end{align} The last relation in \equref{prez1} is $b a^s b^{-1} = a^{\theta (s)}$, and the last relation in \equref{prez2} is $a^{-1} b^r a = b^{\varphi (r)}$. \end{theorem} \begin{proof} We prove \equref{prez1}. Let $F$ be the group defined by the presentation \equref{prez1}. We divide the proof into three steps. \textbf{Step 1.} By \equref{inmult}, the relations $b a^x = a^{\theta (x)} b^{\varphi^x (1)}$ hold in $C_n \bic C_m$ for all $x$, in particular for $1 \leq x \leq s$; obviously, $a^n = b^m = 1$ in $C_n \bic C_m$. Hence there exists a unique morphism of groups $f \colon F \to C_n \bic C_m$ with $f (a) = a$ and $f (b) = b$, and $f$ is surjective since $a$ and $b$ generate $C_n \bic C_m$. Thus it is enough to show that $|F| \leq nm$. \textbf{Step 2.} We show that the relation $b a^x = a^{\theta (x)} b^{\varphi^x (1)}$ holds in $F$ for all integers $x \geq 0$. Since $\varphi^s = \id$, we have $\varphi^s (1) = 1$, so the last relation of \equref{prez1} is $b a^s = a^{\theta (s)} b$, i.e. $b a^s b^{-1} = a^{\theta (s)}$. As conjugation by $b$ is a morphism of groups, we obtain $b a^{qs} b^{-1} = a^{q \theta (s)}$, i.e. $b a^{qs} = a^{q \theta (s)} b$, for all $q \geq 0$. Let $x \geq 0$ and write $x = qs + x_0$, with $0 \leq x_0 < s$. By \leref{core} (2) and $\theta (0) = 0$ we have $\theta (x) = \theta (x_0) + q \theta (s)$; moreover, $\varphi^x = \varphi^{x_0}$, since $s = \ord (\varphi)$. If $x_0 = 0$, then $b a^x = a^{q \theta (s)} b = a^{\theta (x)} b^{\varphi^x (1)}$. If $1 \leq x_0 \leq s - 1$, then, using the relation of \equref{prez1} for $x_0$, \begin{equation*} b a^x = \bigl( b a^{qs} \bigr) a^{x_0} = a^{q \theta (s)} \bigl( b a^{x_0} \bigr) = a^{q \theta (s) + \theta (x_0)} \, b^{\varphi^{x_0} (1)} = a^{\theta (x)} \, b^{\varphi^x (1)}. \end{equation*} \textbf{Step 3.} Let $P := \{a^x b^y \, | \, 0 \leq x < n, \, 0 \leq y < m\} \subseteq F$. The set $P$ contains $1$ and it is closed under left multiplication by $a$, since $a^n = 1$. It is also closed under left multiplication by $b$, since, by Step 2, \begin{equation*} b \, a^x b^y = a^{\theta (x)} \, b^{\varphi^x (1) + y} \in P. \end{equation*} As $a^{-1} = a^{n - 1}$ and $b^{-1} = b^{m - 1}$ in $F$, any element of $F$ is a product of copies of $a$ and $b$; hence $F = P$ and $|F| \leq nm$. Thus $f$ is an isomorphism. The proof of \equref{prez2} is similar, using right multiplications. Let $F'$ be the group defined by \equref{prez2}. As above, there is a surjective morphism $F' \to C_n \bic C_m$. Since $\theta^r = \id$, the last relation of \equref{prez2} is $b^r a = a \, b^{\varphi (r)}$, and therefore $b^{pr} a = a \, b^{p \varphi (r)}$ for all $p \geq 0$. Write $y = pr + y_0$ with $0 \leq y_0 < r$. By \leref{core} (2), $\varphi (y) = \varphi (y_0) + p \varphi (r)$, and $\theta^y = \theta^{y_0}$. Hence $b^y a = b^{y_0} a \, b^{p \varphi (r)} = a^{\theta^{y_0} (1)} b^{\varphi (y_0) + p \varphi (r)} = a^{\theta^y (1)} b^{\varphi (y)}$ in $F'$ (for $y_0 = 0$ we use $\theta^{pr} (1) = 1$ and $\varphi (pr) = p \varphi (r)$). Thus the set $\{a^x b^y \, | \, 0 \leq x < n, \, 0 \leq y < m\}$ is closed under right multiplication by $b$ and by $a$, since $a^x b^y a = a^{x + \theta^y (1)} b^{\varphi (y)}$, and as above it is the whole of $F'$. Hence $|F'| \leq nm$, and the proof is finished. \end{proof} \begin{remark} If $\varphi = \id$ (i.e. $s = 1$), we recover the usual presentation $\langle a, \, b \mid a^n = b^m = 1, \, bab^{-1} = a^t \rangle$, $t = \theta (1)$, of the semidirect product $C_n \rtimes C_m$. For a proper matched pair, \equref{prez1} and \equref{prez2} contain at least two mixed relations. In many cases fewer relations are enough (for instance, in \cite[Corollary 4.3]{AM} one relation suffices), but \exref{contra} shows that this is not the case in general. In the tables of \seref{clasif} we give, for each isomorphism type, a presentation of the form \equref{prez1} or \equref{prez2}, choosing the one with fewer relations. \end{remark} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{The classification of the bicrossed products \texorpdfstring{$C_n \bic C_m$}{Cn x Cm}}\selabel{clasif} For fixed $n$ and $m$, the classification of the groups $C_n \bic C_m$ up to an isomorphism is now a finite computation. We perform it in three steps: \begin{enumerate}[(1)] \item we compute the set $\MP (n, \, m)$ using \thref{lifting}; \item we compute the orbits of $\U (\bZ_n) \times \U (\bZ_m)$ on $\MP (n, \, m)$, given by \prref{orbite}; two pairs in the same orbit give isomorphic matched pairs, hence isomorphic groups; \item for a representative $(\theta, \, \varphi)$ of each orbit we construct the permutation group $\langle A, \, B \rangle \cong C_n \bic C_m$ of degree $n + m$ given by \thref{douglas}, and we identify it in the library of small groups \cite{BEO}, using GAP \cite{GAP}. \end{enumerate} The orders $512$ and $1024$ are not covered by the identification functions of the library. For them, the isomorphism problem is decided by computing invariants (the abelian invariants, the orders of the center and of the derived subgroup, the lower central series, and the multiset of pairs (order of an element, size of its conjugacy class)), followed by an isomorphism test for $p$-groups. For the order $1536$ we use the same invariants and the general isomorphism test of GAP. In this way we have computed, for all the $5781$ pairs $(n, \, m)$ with $2 \leq n \leq m$ and $nm \leq 2000$, the set $\MP (n, \, m)$ (a total of $71823$ matched pairs), its orbits, and the isomorphism types of the bicrossed products ($36160$ types in total). For each type we also record whether it can be realized as a semidirect product $C_n \rtimes C_m$ or $C_m \rtimes C_n$, i.e. whether its class contains a pair $(\theta, \, \varphi)$ with $\theta = \id$ or $\varphi = \id$. The complete results are contained in the supplementary file \texttt{douglas\_tables\_nm\_le\_2000.csv}. Tables \ref{tab:mp}--\ref{tab:nonsd} summarize them for $n$, $m \leq 20$, and \tabref{detail} lists all the groups $C_n \bic C_m$ with $nm \leq 72$ for which proper matched pairs exist, together with a presentation of the form given in \thref{prezentare}. \begin{table}[ht]\centering\scriptsize\setlength{\tabcolsep}{2.2pt} \begin{tabular}{r|rrrrrrrrrrrrrrrrrrr} $n\backslash m$ & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 & 11 & 12 & 13 & 14 & 15 & 16 & 17 & 18 & 19 & 20\\\hline 2 & 1 & 2 & 2 & 2 & 2 & 2 & 4 & 2 & 2 & 2 & 4 & 2 & 2 & 4 & 4 & 2 & 2 & 2 & 4\\ 3 & & 1 & 2 & 1 & 4 & 3 & 2 & 3 & 2 & 1 & 4 & 3 & 4 & 1 & 2 & 1 & 6 & 3 & 2\\ 4 & & & 4 & 4 & 4 & 2 & 10 & 2 & 6 & 2 & 8 & 4 & 4 & 8 & 16 & 4 & 4 & 2 & 12\\ 5 & & & & 1 & 2 & 1 & 4 & 1 & 6 & 5 & 4 & 1 & 2 & 1 & 4 & 1 & 2 & 1 & 16\\ 6 & & & & & 8 & 6 & 8 & 12 & 4 & 2 & 16 & 6 & 8 & 8 & 8 & 2 & 16 & 6 & 8\\ 7 & & & & & & 1 & 2 & 3 & 2 & 1 & 6 & 1 & 8 & 3 & 2 & 1 & 6 & 1 & 2\\ 8 & & & & & & & 28 & 2 & 12 & 2 & 20 & 4 & 8 & 8 & 48 & 8 & 8 & 2 & 28\\ 9 & & & & & & & & 9 & 2 & 1 & 12 & 3 & 4 & 3 & 2 & 1 & 36 & 9 & 2\\ 10 & & & & & & & & & 12 & 10 & 12 & 2 & 4 & 12 & 12 & 2 & 4 & 2 & 36\\ 11 & & & & & & & & & & 1 & 2 & 1 & 2 & 5 & 2 & 1 & 2 & 1 & 10\\ 12 & & & & & & & & & & & 32 & 12 & 16 & 16 & 32 & 4 & 32 & 6 & 24\\ 13 & & & & & & & & & & & & 1 & 2 & 3 & 4 & 1 & 6 & 1 & 4\\ 14 & & & & & & & & & & & & & 16 & 8 & 8 & 2 & 8 & 2 & 8\\ 15 & & & & & & & & & & & & & & 1 & 8 & 1 & 12 & 3 & 32\\ 16 & & & & & & & & & & & & & & & 128 & 16 & 8 & 2 & 48\\ 17 & & & & & & & & & & & & & & & & 1 & 2 & 1 & 4\\ 18 & & & & & & & & & & & & & & & & & 64 & 18 & 8\\ 19 & & & & & & & & & & & & & & & & & & 1 & 2\\ 20 & & & & & & & & & & & & & & & & & & & 100\\ \end{tabular} \caption{The number $|\MP(n,m)|$ of matched pairs $(C_n, C_m, \la, \ra)$, $2\leq n\leq m\leq 20$.\label{tab:mp}} \end{table} \begin{table}[ht]\centering\scriptsize\setlength{\tabcolsep}{2.2pt} \begin{tabular}{r|rrrrrrrrrrrrrrrrrrr} $n\backslash m$ & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 & 11 & 12 & 13 & 14 & 15 & 16 & 17 & 18 & 19 & 20\\\hline 2 & 1 & 2 & 2 & 2 & 2 & 2 & 4 & 2 & 2 & 2 & 4 & 2 & 2 & 4 & 4 & 2 & 2 & 2 & 4\\ 3 & & 1 & 2 & 1 & 3 & 2 & 2 & 2 & 2 & 1 & 3 & 2 & 3 & 1 & 2 & 1 & 4 & 2 & 2\\ 4 & & & 4 & 3 & 4 & 2 & 9 & 2 & 5 & 2 & 8 & 3 & 4 & 6 & 12 & 3 & 4 & 2 & 10\\ 5 & & & & 1 & 2 & 1 & 3 & 1 & 3 & 2 & 3 & 1 & 2 & 1 & 3 & 1 & 2 & 1 & 5\\ 6 & & & & & 6 & 4 & 8 & 6 & 4 & 2 & 12 & 4 & 6 & 6 & 8 & 2 & 9 & 4 & 8\\ 7 & & & & & & 1 & 2 & 2 & 2 & 1 & 4 & 1 & 3 & 2 & 2 & 1 & 4 & 1 & 2\\ 8 & & & & & & & 22 & 2 & 10 & 2 & 18 & 3 & 8 & 6 & 30 & 4 & 8 & 2 & 22\\ 9 & & & & & & & & 4 & 2 & 1 & 6 & 2 & 3 & 2 & 2 & 1 & 10 & 3 & 2\\ 10 & & & & & & & & & 6 & 4 & 10 & 2 & 4 & 6 & 10 & 2 & 4 & 2 & 15\\ 11 & & & & & & & & & & 1 & 2 & 1 & 2 & 2 & 2 & 1 & 2 & 1 & 4\\ 12 & & & & & & & & & & & 24 & 6 & 12 & 9 & 24 & 3 & 18 & 4 & 20\\ 13 & & & & & & & & & & & & 1 & 2 & 2 & 3 & 1 & 4 & 1 & 3\\ 14 & & & & & & & & & & & & & 6 & 6 & 8 & 2 & 6 & 2 & 8\\ 15 & & & & & & & & & & & & & & 1 & 6 & 1 & 8 & 2 & 10\\ 16 & & & & & & & & & & & & & & & 53 & 5 & 8 & 2 & 30\\ 17 & & & & & & & & & & & & & & & & 1 & 2 & 1 & 3\\ 18 & & & & & & & & & & & & & & & & & 17 & 6 & 8\\ 19 & & & & & & & & & & & & & & & & & & 1 & 2\\ 20 & & & & & & & & & & & & & & & & & & & 37\\ \end{tabular} \caption{The number of isomorphism classes of matched pairs $(C_n, C_m, \la, \ra)$, i.e. of orbits of $\U(\bZ_n)\times\U(\bZ_m)$ on $\MP(n,m)$, $2\leq n\leq m\leq 20$.\label{tab:orb}} \end{table} \begin{table}[ht]\centering\scriptsize\setlength{\tabcolsep}{2.2pt} \begin{tabular}{r|rrrrrrrrrrrrrrrrrrr} $n\backslash m$ & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 & 11 & 12 & 13 & 14 & 15 & 16 & 17 & 18 & 19 & 20\\\hline 2 & 1 & 2 & 2 & 2 & 2 & 2 & 4 & 2 & 2 & 2 & 4 & 2 & 2 & 4 & 4 & 2 & 2 & 2 & 4\\ 3 & & 1 & 2 & 1 & 2 & 2 & 2 & 2 & 2 & 1 & 2 & 2 & 3 & 1 & 2 & 1 & 3 & 2 & 2\\ 4 & & & 3 & 3 & 4 & 2 & 8 & 2 & 5 & 2 & 7 & 3 & 4 & 6 & 11 & 3 & 4 & 2 & 9\\ 5 & & & & 1 & 2 & 1 & 3 & 1 & 2 & 2 & 3 & 1 & 2 & 1 & 3 & 1 & 2 & 1 & 3\\ 6 & & & & & 3 & 4 & 8 & 4 & 4 & 2 & 8 & 4 & 6 & 4 & 8 & 2 & 6 & 4 & 8\\ 7 & & & & & & 1 & 2 & 2 & 2 & 1 & 4 & 1 & 2 & 2 & 2 & 1 & 4 & 1 & 2\\ 8 & & & & & & & 11 & 2 & 10 & 2 & 16 & 3 & 8 & 6 & 21 & 4 & 8 & 2 & 20\\ 9 & & & & & & & & 2 & 2 & 1 & 4 & 2 & 3 & 2 & 2 & 1 & 4 & 3 & 2\\ 10 & & & & & & & & & 3 & 4 & 10 & 2 & 4 & 4 & 10 & 2 & 4 & 2 & 10\\ 11 & & & & & & & & & & 1 & 2 & 1 & 2 & 2 & 2 & 1 & 2 & 1 & 4\\ 12 & & & & & & & & & & & 10 & 6 & 12 & 6 & 22 & 3 & 12 & 4 & 19\\ 13 & & & & & & & & & & & & 1 & 2 & 2 & 3 & 1 & 4 & 1 & 3\\ 14 & & & & & & & & & & & & & 3 & 6 & 8 & 2 & 6 & 2 & 8\\ 15 & & & & & & & & & & & & & & 1 & 6 & 1 & 6 & 2 & 6\\ 16 & & & & & & & & & & & & & & & 21 & 5 & 8 & 2 & 27\\ 17 & & & & & & & & & & & & & & & & 1 & 2 & 1 & 3\\ 18 & & & & & & & & & & & & & & & & & 5 & 6 & 8\\ 19 & & & & & & & & & & & & & & & & & & 1 & 2\\ 20 & & & & & & & & & & & & & & & & & & & 15\\ \end{tabular} \caption{The number of isomorphism types of groups $C_n\bic C_m$, $2\leq n\leq m\leq 20$.\label{tab:iso}} \end{table} \begin{table}[ht]\centering\scriptsize\setlength{\tabcolsep}{2.2pt} \begin{tabular}{r|rrrrrrrrrrrrrrrrrrr} $n\backslash m$ & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 & 11 & 12 & 13 & 14 & 15 & 16 & 17 & 18 & 19 & 20\\\hline 2 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0\\ 3 & & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0\\ 4 & & & 1 & 0 & 1 & 0 & 3 & 0 & 1 & 0 & 3 & 0 & 1 & 0 & 4 & 0 & 1 & 0 & 3\\ 5 & & & & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0\\ 6 & & & & & 1 & 0 & 3 & 0 & 1 & 0 & 3 & 0 & 1 & 0 & 3 & 0 & 1 & 0 & 3\\ 7 & & & & & & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0\\ 8 & & & & & & & 7 & 0 & 4 & 0 & 9 & 0 & 3 & 0 & 12 & 0 & 3 & 0 & 11\\ 9 & & & & & & & & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0\\ 10 & & & & & & & & & 1 & 0 & 4 & 0 & 1 & 0 & 4 & 0 & 1 & 0 & 4\\ 11 & & & & & & & & & & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0\\ 12 & & & & & & & & & & & 6 & 0 & 5 & 0 & 13 & 0 & 5 & 0 & 11\\ 13 & & & & & & & & & & & & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0\\ 14 & & & & & & & & & & & & & 1 & 1 & 3 & 0 & 1 & 0 & 3\\ 15 & & & & & & & & & & & & & & 0 & 0 & 0 & 1 & 0 & 0\\ 16 & & & & & & & & & & & & & & & 15 & 0 & 3 & 0 & 16\\ 17 & & & & & & & & & & & & & & & & 0 & 0 & 0 & 0\\ 18 & & & & & & & & & & & & & & & & & 1 & 0 & 3\\ 19 & & & & & & & & & & & & & & & & & & 0 & 0\\ 20 & & & & & & & & & & & & & & & & & & & 9\\ \end{tabular} \caption{The number of isomorphism types of groups $C_n\bic C_m$ which are not isomorphic to a semidirect product $C_n\rtimes C_m$ or $C_m\rtimes C_n$, $2\leq n\leq m\leq 20$.\label{tab:nonsd}} \end{table} \begin{remarks}\relabel{verif} \begin{enumerate}[(1)] \item Out of the $5781$ pairs $(n, \, m)$, exactly $5088$ have $|\MP (n, \, m)| > 1$. In all cases our computations agree with \cite[Theorem 4.4, (i)$\Leftrightarrow$(iv)]{FHNSW} (see also \cite[Theorem 1.1]{FL}): $|\MP (n, \, m)| = 1$, i.e. $C_n \times C_m$ is the only group which factorizes exactly through $C_n$ and $C_m$, if and only if $\gcd \bigl( n, \, |\U (\bZ_m)| \bigr) = \gcd \bigl( |\U (\bZ_n)|, \, m \bigr) = 1$. \item The three levels of classification are really different. For example, $|\MP (6, \, 6)| = 8$, there are $6$ isomorphism classes of matched pairs, but only $3$ groups $C_6 \bic C_6$: $C_6 \times C_6$, $C_6 \times S_3$ (which is realized by $6$ matched pairs, both as a semidirect product and as a proper bicrossed product) and $S_3 \times S_3$. \item For $n = 3$ and $m = 6$ we recover \cite[Corollary 4.3]{AM}: there are $4$ matched pairs and three classes in the category $\mathcal{B}_1 (C_3, \, C_6)$ of \cite{AM}. However, as abstract groups, only two bicrossed products $C_3 \bic C_6$ exist, namely $C_3 \times C_6$ and $C_3 \times S_3$. Indeed, \begin{equation*} \langle a, \, b \mid a^3 = b^6 = 1, \, ba = a^2 b \rangle \cong \langle a, \, b \mid a^3 = b^6 = 1, \, ba = a^2 b^3 \rangle \cong C_3 \times S_3, \end{equation*} in accordance with \cite[Theorem 2.1]{ACIM}. \item Douglas' examples: the group of order $64$ defined in \cite[(27)]{D1} by $\theta = (1 \, 3 \, 5 \, 7)$, $\varphi = (1 \, 7 \, 5 \, 3)$ is $\texttt{SmallGroup}(64, 11)$, while the group defined by the self-conjugate substitution $\theta = \varphi = (1 \, 3 \, 5 \, 7)$ \cite[(87)]{D2} is $\texttt{SmallGroup}(64, 10)$. None of them is a semidirect product of two cyclic groups of order $8$. There are $28$ matched pairs between $C_8$ and $C_8$, $22$ isomorphism classes of matched pairs and $11$ groups $C_8 \bic C_8$, only $4$ of which are semidirect products. \end{enumerate} \end{remarks} {\scriptsize\setlength{\tabcolsep}{3pt} \begin{longtable}{llrrlcp{7.6cm}} \caption{The groups $C_n\bic C_m$ for $2\leq n\leq m$, $nm\leq 72$, such that there exist proper matched pairs. Column $\#$: number of matched pairs; orb: number of orbits; type: D = direct, A = $\varphi=\id$, B = $\theta=\id$, P = proper; SD: semidirect product of $C_n$ and $C_m$.}\label{tab:detail}\\ $(n,m)$ & IdGroup & $\#$ & orb & type & SD & structure; presentation\\\hline\endfirsthead $(n,m)$ & IdGroup & $\#$ & orb & type & SD & structure; presentation\\\hline\endhead $(3,6)$ & [18,3] & 3 & 2 & AP & yes & $C3 \times S3$; $\langle a,b \mid a^{3}=b^{6}=1,\ ba=a^{2}b\rangle$\\ & [18,5] & 1 & 1 & D & yes & $C6 \times C3$; $\langle a,b \mid a^{3}=b^{6}=1,\ ba=ab\rangle$\\ \hline $(3,12)$ & [36,6] & 3 & 2 & AP & yes & $C3 \times (C3 \rtimes C4)$; $\langle a,b \mid a^{3}=b^{12}=1,\ ba=a^{2}b\rangle$\\ & [36,8] & 1 & 1 & D & yes & $C12 \times C3$; $\langle a,b \mid a^{3}=b^{12}=1,\ ba=ab\rangle$\\ \hline $(3,18)$ & [54,4] & 3 & 2 & AP & yes & $C9 \times S3$; $\langle a,b \mid a^{3}=b^{18}=1,\ ba=a^{2}b\rangle$\\ & [54,9] & 1 & 1 & D & yes & $C18 \times C3$; $\langle a,b \mid a^{3}=b^{18}=1,\ ba=ab\rangle$\\ & [54,11] & 2 & 1 & B & yes & $C2 \times (C9 \rtimes C3)$; $\langle a,b \mid a^{3}=b^{18}=1,\ ba=ab^{7}\rangle$\\ \hline $(3,24)$ & [72,12] & 3 & 2 & AP & yes & $C3 \times (C3 \rtimes C8)$; $\langle a,b \mid a^{3}=b^{24}=1,\ ba=a^{2}b\rangle$\\ & [72,14] & 1 & 1 & D & yes & $C24 \times C3$; $\langle a,b \mid a^{3}=b^{24}=1,\ ba=ab\rangle$\\ \hline $(4,4)$ & [16,2] & 1 & 1 & D & yes & $C4 \times C4$; $\langle a,b \mid a^{4}=b^{4}=1,\ ba=ab\rangle$\\ & [16,3] & 1 & 1 & P & \textbf{no} & $(C4 \times C2) \rtimes C2$; $\langle a,b \mid a^{4}=b^{4}=1,\ ba=a^{3}b^{3},\ ba^{2}=a^{2}b\rangle$\\ & [16,4] & 2 & 2 & AB & yes & $C4 \rtimes C4$; $\langle a,b \mid a^{4}=b^{4}=1,\ ba=ab^{3}\rangle$\\ \hline $(4,6)$ & [24,7] & 1 & 1 & B & yes & $C2 \times (C3 \rtimes C4)$; $\langle a,b \mid a^{4}=b^{6}=1,\ ba=ab^{5}\rangle$\\ & [24,8] & 1 & 1 & P & \textbf{no} & $(C6 \times C2) \rtimes C2$; $\langle a,b \mid a^{4}=b^{6}=1,\ ba=a^{3}b^{5},\ ba^{2}=a^{2}b\rangle$\\ & [24,9] & 1 & 1 & D & yes & $C12 \times C2$; $\langle a,b \mid a^{4}=b^{6}=1,\ ba=ab\rangle$\\ & [24,10] & 1 & 1 & A & yes & $C3 \times D8$; $\langle a,b \mid a^{4}=b^{6}=1,\ ba=a^{3}b\rangle$\\ \hline $(4,8)$ & [32,3] & 1 & 1 & D & yes & $C8 \times C4$; $\langle a,b \mid a^{4}=b^{8}=1,\ ba=ab\rangle$\\ & [32,4] & 1 & 1 & B & yes & $C8 \rtimes C4$; $\langle a,b \mid a^{4}=b^{8}=1,\ ba=ab^{5}\rangle$\\ & [32,9] & 1 & 1 & P & \textbf{no} & $(C8 \times C2) \rtimes C2$; $\langle a,b \mid a^{4}=b^{8}=1,\ ba=a^{3}b^{7},\ ba^{2}=a^{2}b\rangle$\\ & [32,10] & 1 & 1 & P & \textbf{no} & $Q8 \rtimes C4$; $\langle a,b \mid a^{4}=b^{8}=1,\ ba=a^{3}b^{3},\ ba^{2}=a^{2}b\rangle$\\ & [32,11] & 2 & 1 & P & \textbf{no} & $(C4 \times C4) \rtimes C2$; $\langle a,b \mid a^{4}=b^{8}=1,\ ba=a^{3}b^{3},\ b^{2}a=ab^{2}\rangle$\\ & [32,12] & 2 & 2 & AP & yes & $C4 \rtimes C8$; $\langle a,b \mid a^{4}=b^{8}=1,\ ba=a^{3}b\rangle$\\ & [32,13] & 1 & 1 & B & yes & $C8 \rtimes C4$; $\langle a,b \mid a^{4}=b^{8}=1,\ ba=ab^{3}\rangle$\\ & [32,14] & 1 & 1 & B & yes & $C8 \rtimes C4$; $\langle a,b \mid a^{4}=b^{8}=1,\ ba=ab^{7}\rangle$\\ \hline $(4,10)$ & [40,7] & 1 & 1 & B & yes & $C2 \times (C5 \rtimes C4)$; $\langle a,b \mid a^{4}=b^{10}=1,\ ba=ab^{9}\rangle$\\ & [40,8] & 1 & 1 & P & \textbf{no} & $(C10 \times C2) \rtimes C2$; $\langle a,b \mid a^{4}=b^{10}=1,\ ba=a^{3}b^{9},\ ba^{2}=a^{2}b\rangle$\\ & [40,9] & 1 & 1 & D & yes & $C20 \times C2$; $\langle a,b \mid a^{4}=b^{10}=1,\ ba=ab\rangle$\\ & [40,10] & 1 & 1 & A & yes & $C5 \times D8$; $\langle a,b \mid a^{4}=b^{10}=1,\ ba=a^{3}b\rangle$\\ & [40,12] & 2 & 1 & B & yes & $C2 \times (C5 \rtimes C4)$; $\langle a,b \mid a^{4}=b^{10}=1,\ ba=ab^{3}\rangle$\\ \hline $(4,12)$ & [48,11] & 1 & 1 & B & yes & $C4 \times (C3 \rtimes C4)$; $\langle a,b \mid a^{4}=b^{12}=1,\ ba=ab^{5}\rangle$\\ & [48,12] & 1 & 1 & P & \textbf{no} & $(C3 \rtimes C4) \rtimes C4$; $\langle a,b \mid a^{4}=b^{12}=1,\ ba=a^{3}b^{5},\ ba^{2}=a^{2}b\rangle$\\ & [48,13] & 1 & 1 & B & yes & $C12 \rtimes C4$; $\langle a,b \mid a^{4}=b^{12}=1,\ ba=ab^{11}\rangle$\\ & [48,14] & 1 & 1 & P & \textbf{no} & $(C12 \times C2) \rtimes C2$; $\langle a,b \mid a^{4}=b^{12}=1,\ ba=a^{3}b^{11},\ ba^{2}=a^{2}b\rangle$\\ & [48,20] & 1 & 1 & D & yes & $C12 \times C4$; $\langle a,b \mid a^{4}=b^{12}=1,\ ba=ab\rangle$\\ & [48,21] & 1 & 1 & P & \textbf{no} & $C3 \times ((C4 \times C2) \rtimes C2)$; $\langle a,b \mid a^{4}=b^{12}=1,\ ba=a^{3}b^{7},\ ba^{2}=a^{2}b\rangle$\\ & [48,22] & 2 & 2 & AB & yes & $C3 \times (C4 \rtimes C4)$; $\langle a,b \mid a^{4}=b^{12}=1,\ ba=ab^{7}\rangle$\\ \hline $(4,14)$ & [56,6] & 1 & 1 & B & yes & $C2 \times (C7 \rtimes C4)$; $\langle a,b \mid a^{4}=b^{14}=1,\ ba=ab^{13}\rangle$\\ & [56,7] & 1 & 1 & P & \textbf{no} & $(C14 \times C2) \rtimes C2$; $\langle a,b \mid a^{4}=b^{14}=1,\ ba=a^{3}b^{13},\ ba^{2}=a^{2}b\rangle$\\ & [56,8] & 1 & 1 & D & yes & $C28 \times C2$; $\langle a,b \mid a^{4}=b^{14}=1,\ ba=ab\rangle$\\ & [56,9] & 1 & 1 & A & yes & $C7 \times D8$; $\langle a,b \mid a^{4}=b^{14}=1,\ ba=a^{3}b\rangle$\\ \hline $(4,16)$ & [64,26] & 1 & 1 & D & yes & $C16 \times C4$; $\langle a,b \mid a^{4}=b^{16}=1,\ ba=ab\rangle$\\ & [64,27] & 1 & 1 & B & yes & $C16 \rtimes C4$; $\langle a,b \mid a^{4}=b^{16}=1,\ ba=ab^{9}\rangle$\\ & [64,28] & 2 & 1 & B & yes & $C16 \rtimes C4$; $\langle a,b \mid a^{4}=b^{16}=1,\ ba=ab^{5}\rangle$\\ & [64,38] & 1 & 1 & P & \textbf{no} & $D16 \rtimes C4$; $\langle a,b \mid a^{4}=b^{16}=1,\ ba=a^{3}b^{15},\ ba^{2}=a^{2}b\rangle$\\ & [64,39] & 1 & 1 & P & \textbf{no} & $Q16 \rtimes C4$; $\langle a,b \mid a^{4}=b^{16}=1,\ ba=a^{3}b^{7},\ ba^{2}=a^{2}b\rangle$\\ & [64,41] & 2 & 1 & P & \textbf{no} & $Q16 \rtimes C4$; $\langle a,b \mid a^{4}=b^{16}=1,\ ba=a^{3}b^{7},\ b^{2}a=ab^{6}\rangle$\\ & [64,44] & 2 & 2 & AP & yes & $C4 \rtimes C16$; $\langle a,b \mid a^{4}=b^{16}=1,\ ba=a^{3}b\rangle$\\ & [64,45] & 2 & 1 & P & \textbf{no} & $C8 . D8 = C4 . (C8 \times C2)$; $\langle a,b \mid a^{4}=b^{16}=1,\ ba=a^{3}b^{5},\ b^{2}a=ab^{2}\rangle$\\ & [64,46] & 2 & 1 & B & yes & $C16 \rtimes C4$; $\langle a,b \mid a^{4}=b^{16}=1,\ ba=ab^{3}\rangle$\\ & [64,47] & 1 & 1 & B & yes & $C16 \rtimes C4$; $\langle a,b \mid a^{4}=b^{16}=1,\ ba=ab^{15}\rangle$\\ & [64,48] & 1 & 1 & B & yes & $C16 \rtimes C4$; $\langle a,b \mid a^{4}=b^{16}=1,\ ba=ab^{7}\rangle$\\ \hline $(4,18)$ & [72,7] & 1 & 1 & B & yes & $C2 \times (C9 \rtimes C4)$; $\langle a,b \mid a^{4}=b^{18}=1,\ ba=ab^{17}\rangle$\\ & [72,8] & 1 & 1 & P & \textbf{no} & $(C18 \times C2) \rtimes C2$; $\langle a,b \mid a^{4}=b^{18}=1,\ ba=a^{3}b^{17},\ ba^{2}=a^{2}b\rangle$\\ & [72,9] & 1 & 1 & D & yes & $C36 \times C2$; $\langle a,b \mid a^{4}=b^{18}=1,\ ba=ab\rangle$\\ & [72,10] & 1 & 1 & A & yes & $C9 \times D8$; $\langle a,b \mid a^{4}=b^{18}=1,\ ba=a^{3}b\rangle$\\ \hline $(5,10)$ & [50,3] & 5 & 2 & AP & yes & $C5 \times D10$; $\langle a,b \mid a^{5}=b^{10}=1,\ ba=a^{4}b\rangle$\\ & [50,5] & 1 & 1 & D & yes & $C10 \times C5$; $\langle a,b \mid a^{5}=b^{10}=1,\ ba=ab\rangle$\\ \hline $(6,6)$ & [36,10] & 1 & 1 & P & \textbf{no} & $S3 \times S3$; $\langle a,b \mid a^{6}=b^{6}=1,\ ba=a^{5}b^{5},\ ba^{2}=a^{4}b\rangle$\\ & [36,12] & 6 & 4 & ABP & yes & $C6 \times S3$; $\langle a,b \mid a^{6}=b^{6}=1,\ ba=ab^{5}\rangle$\\ & [36,14] & 1 & 1 & D & yes & $C6 \times C6$; $\langle a,b \mid a^{6}=b^{6}=1,\ ba=ab\rangle$\\ \hline $(6,8)$ & [48,9] & 1 & 1 & A & yes & $C2 \times (C3 \rtimes C8)$; $\langle a,b \mid a^{6}=b^{8}=1,\ ba=a^{5}b\rangle$\\ & [48,10] & 1 & 1 & P & \textbf{no} & $(C3 \rtimes C8) \rtimes C2$; $\langle a,b \mid a^{6}=b^{8}=1,\ ba=a^{5}b^{5},\ ba^{2}=a^{4}b\rangle$\\ & [48,15] & 1 & 1 & P & \textbf{no} & $(C3 \times D8) \rtimes C2$; $\langle a,b \mid a^{6}=b^{8}=1,\ ba=a^{5}b^{7},\ ba^{2}=a^{4}b\rangle$\\ & [48,16] & 1 & 1 & P & \textbf{no} & $(C3 \rtimes Q8) \rtimes C2$; $\langle a,b \mid a^{6}=b^{8}=1,\ ba=a^{5}b^{3},\ ba^{2}=a^{4}b\rangle$\\ & [48,23] & 1 & 1 & D & yes & $C24 \times C2$; $\langle a,b \mid a^{6}=b^{8}=1,\ ba=ab\rangle$\\ & [48,24] & 1 & 1 & B & yes & $C3 \times (C8 \rtimes C2)$; $\langle a,b \mid a^{6}=b^{8}=1,\ ba=ab^{5}\rangle$\\ & [48,25] & 1 & 1 & B & yes & $C3 \times D16$; $\langle a,b \mid a^{6}=b^{8}=1,\ ba=ab^{7}\rangle$\\ & [48,26] & 1 & 1 & B & yes & $C3 \times QD16$; $\langle a,b \mid a^{6}=b^{8}=1,\ ba=ab^{3}\rangle$\\ \hline $(6,9)$ & [54,3] & 3 & 2 & BP & yes & $C3 \times D18$; $\langle a,b \mid a^{6}=b^{9}=1,\ ba=ab^{8}\rangle$\\ & [54,6] & 6 & 2 & BP & yes & $C9 \rtimes C6$; $\langle a,b \mid a^{6}=b^{9}=1,\ ba=ab^{2}\rangle$\\ & [54,9] & 1 & 1 & D & yes & $C18 \times C3$; $\langle a,b \mid a^{6}=b^{9}=1,\ ba=ab\rangle$\\ & [54,11] & 2 & 1 & B & yes & $C2 \times (C9 \rtimes C3)$; $\langle a,b \mid a^{6}=b^{9}=1,\ ba=ab^{4}\rangle$\\ \hline $(6,10)$ & [60,8] & 1 & 1 & P & \textbf{no} & $S3 \times D10$; $\langle a,b \mid a^{6}=b^{10}=1,\ ba=a^{5}b^{9},\ ba^{2}=a^{4}b\rangle$\\ & [60,10] & 1 & 1 & B & yes & $C6 \times D10$; $\langle a,b \mid a^{6}=b^{10}=1,\ ba=ab^{9}\rangle$\\ & [60,11] & 1 & 1 & A & yes & $C10 \times S3$; $\langle a,b \mid a^{6}=b^{10}=1,\ ba=a^{5}b\rangle$\\ & [60,13] & 1 & 1 & D & yes & $C30 \times C2$; $\langle a,b \mid a^{6}=b^{10}=1,\ ba=ab\rangle$\\ \hline $(6,12)$ & [72,20] & 1 & 1 & P & \textbf{no} & $(C3 \rtimes C4) \times S3$; $\langle a,b \mid a^{6}=b^{12}=1,\ ba=a^{5}b^{5},\ ba^{2}=a^{4}b\rangle$\\ & [72,23] & 1 & 1 & P & \textbf{no} & $(C6 \times S3) \rtimes C2$; $\langle a,b \mid a^{6}=b^{12}=1,\ ba=a^{5}b^{11},\ ba^{2}=a^{4}b\rangle$\\ & [72,27] & 3 & 2 & BP & yes & $C12 \times S3$; $\langle a,b \mid a^{6}=b^{12}=1,\ ba=ab^{5}\rangle$\\ & [72,28] & 3 & 2 & BP & yes & $C3 \times D24$; $\langle a,b \mid a^{6}=b^{12}=1,\ ba=ab^{11}\rangle$\\ & [72,29] & 3 & 2 & AP & yes & $C6 \times (C3 \rtimes C4)$; $\langle a,b \mid a^{6}=b^{12}=1,\ ba=a^{5}b\rangle$\\ & [72,30] & 3 & 2 & P & \textbf{no} & $C3 \times ((C6 \times C2) \rtimes C2)$; $\langle a,b \mid a^{6}=b^{12}=1,\ ba=a^{5}b^{7},\ ba^{2}=a^{4}b\rangle$\\ & [72,36] & 1 & 1 & D & yes & $C12 \times C6$; $\langle a,b \mid a^{6}=b^{12}=1,\ ba=ab\rangle$\\ & [72,37] & 1 & 1 & B & yes & $C3 \times C3 \times D8$; $\langle a,b \mid a^{6}=b^{12}=1,\ ba=ab^{7}\rangle$\\ \hline $(8,8)$ & [64,2] & 1 & 1 & D & yes & $C8 \times C8$; $\langle a,b \mid a^{8}=b^{8}=1,\ ba=ab\rangle$\\ & [64,3] & 3 & 3 & ABP & yes & $C8 \rtimes C8$; $\langle a,b \mid a^{8}=b^{8}=1,\ ba=ab^{5}\rangle$\\ & [64,6] & 4 & 2 & P & \textbf{no} & $D8 \rtimes C8$; $\langle a,b \mid a^{8}=b^{8}=1,\ ba=a^{3}b^{7},\ ba^{2}=a^{2}b\rangle$\\ & [64,7] & 4 & 2 & P & \textbf{no} & $Q8 \rtimes C8$; $\langle a,b \mid a^{8}=b^{8}=1,\ ba=a^{3}b^{3},\ ba^{2}=a^{2}b\rangle$\\ & [64,10] & 2 & 1 & P & \textbf{no} & $(C8 \rtimes C4) \rtimes C2$; $\langle a,b \mid a^{8}=b^{8}=1,\ ba=a^{3}b^{3},\ ba^{2}=a^{2}b^{5},\ ba^{3}=a^{5}b^{7},\ ba^{4}=a^{4}b\rangle$\\ & [64,11] & 2 & 1 & P & \textbf{no} & $(C2 \times C2) . ((C4 \times C2) \rtimes C2) = (C4 \times C2) . (C4 \times C2)$; $\langle a,b \mid a^{8}=b^{8}=1,\ ba=a^{3}b^{7},\ ba^{2}=a^{2}b^{5},\ ba^{3}=a^{5}b^{3},\ ba^{4}=a^{4}b\rangle$\\ & [64,12] & 1 & 1 & P & \textbf{no} & $(C4 \rtimes C8) \rtimes C2$; $\langle a,b \mid a^{8}=b^{8}=1,\ ba=a^{7}b^{7},\ ba^{2}=a^{6}b\rangle$\\ & [64,13] & 2 & 2 & P & \textbf{no} & $(C2 \times C2) . ((C4 \times C2) \rtimes C2) = (C4 \times C2) . (C4 \times C2)$; $\langle a,b \mid a^{8}=b^{8}=1,\ ba=a^{3}b^{7},\ ba^{2}=a^{6}b\rangle$\\ & [64,14] & 1 & 1 & P & \textbf{no} & $(C2 \times C2) . ((C4 \times C2) \rtimes C2) = (C4 \times C2) . (C4 \times C2)$; $\langle a,b \mid a^{8}=b^{8}=1,\ ba=a^{3}b^{3},\ ba^{2}=a^{6}b\rangle$\\ & [64,15] & 4 & 4 & ABP & yes & $C8 \rtimes C8$; $\langle a,b \mid a^{8}=b^{8}=1,\ ba=ab^{3}\rangle$\\ & [64,16] & 4 & 4 & ABP & yes & $C8 \rtimes C8$; $\langle a,b \mid a^{8}=b^{8}=1,\ ba=ab^{7}\rangle$\\ \hline \end{longtable}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{Bicrossed products versus semidirect products}\selabel{semidirect} By \cite[Theorem 2.1]{ACIM}, if $p$ is a prime, then any bicrossed product $C_p \bic C_m$ is isomorphic to a semidirect product of $C_p$ and $C_m$. The tables of the previous section show that this is not true for composite orders. In fact, there is a uniform family of counterexamples. \begin{theorem}\thlabel{even} Let $n$, $m \geq 4$ be two even integers. Then $(\theta, \, \varphi) = (- \id_{\bZ_n}, \, - \id_{\bZ_m})$, i.e. $\theta (x) = -x$ and $\varphi (y) = -y$, is a proper matched pair, and the bicrossed product \begin{equation*} E_{n, m} := C_n \bic C_m \cong \bigl\langle a, \, b \mid a^n = b^m = 1, \; (ab)^2 = 1, \; ba^2 b^{-1} = a^{-2} \bigr\rangle \end{equation*} is not isomorphic to a semidirect product $C_n \rtimes C_m$ or $C_m \rtimes C_n$. In particular, for any two even integers $n$ and $m$, all bicrossed products $C_n \bic C_m$ are semidirect products if and only if $\min \{n, \, m\} = 2$. \end{theorem} \begin{proof} We divide the proof into four steps. \textbf{Step 1: $(- \id, \, - \id) \in \MP (n, \, m)$.} We check the conditions of \thref{douglas}. Clearly $\theta (0) = 0$ and $\varphi (0) = 0$. As $n \geq 4$, $\theta \neq \id$ and $r = \ord (\theta) = 2$, which divides $m$; similarly, $s = \ord (\varphi) = 2$ divides $n$. Since $\varphi^z (1) = (-1)^z$ and $m$ is even, $\varphi^z (1)$ is odd, so $\theta^{\varphi^z (1)} = \theta$. Thus \equref{D1} reads $- (x + z) + z = -x$, which is true. In the same way \equref{D2} holds. Hence $(- \id, \, - \id) \in \MP (n, \, m)$, and it is proper. (This also follows from \cite[Theorem XXVI]{D2}, see also \cite[Theorem 2.4]{AIM}.) \textbf{Step 2: the presentation.} As $s = 2$, the presentation \equref{prez1} has, besides $a^n = b^m = 1$, the relations $ba = a^{\theta (1)} b^{\varphi (1)} = a^{-1} b^{-1}$ and $b a^2 = a^{\theta (2)} b^{\varphi^2 (1)} = a^{-2} b$. The first one is equivalent to $abab = 1$, i.e. $(ab)^2 = 1$, and the second one to $b a^2 b^{-1} = a^{-2}$. This gives the presentation of $E := E_{n, m}$. \textbf{Step 3: the abelianization.} Writing the relations additively, we obtain \begin{equation*} E^{ab} \cong \bZ^2 / \bigl\langle (n, \, 0), \, (0, \, m), \, (2, \, 2), \, (4, \, 0) \bigr\rangle. \end{equation*} If $4 \nmid n$, then $(2, \, 0) \in \langle (n, 0), (4, 0) \rangle$, hence $(0, \, 2) = (2, \, 2) - (2, \, 0)$ also belongs to the subgroup of relations, which is therefore $2 \bZ^2$ (all the generators have even coordinates). Thus $E^{ab} \cong C_2 \times C_2$. The same holds if $4 \nmid m$, since $(0, \, 4) = 2 (2, \, 2) - (4, \, 0)$ and $(0, \, m)$ give $(0, \, 2)$. If $4 \, | \, n$ and $4 \, | \, m$, the subgroup of relations has the basis $\{(2, \, 2), \, (0, \, 4)\}$, its index is $8$, and $E^{ab} \cong C_4 \times C_2$; more precisely, \begin{equation*} E^{ab} = \langle \overline{a} \rangle \times \langle \overline{a} \, \overline{b}^{-1} \rangle \cong C_4 \times C_2. \end{equation*} In all cases $E^{ab}$ has exponent at most $4$. \textbf{Step 4: $E$ is not a semidirect product of $C_n$ and $C_m$.} Assume that $E \cong N \rtimes D$, with $N$ and $D$ cyclic and $\{|N|, \, |D|\} = \{n, \, m\}$. Then $N$ is a normal cyclic subgroup of $E$ and $E/N \cong D$ is cyclic. Thus $D$ is a cyclic quotient of $E^{ab}$, so $|D| \leq 4$ by Step 3. Since $|D| \in \{n, \, m\}$ and $n$, $m \geq 4$, we obtain $|D| = 4$, and $E^{ab}$ has a cyclic quotient of order $4$. By Step 3, $4 \, | \, n$, $4 \, | \, m$ and $E^{ab} \cong C_4 \times C_2$. Now, $E' \subseteq N$ since $E/N$ is abelian, and $N/E'$ is a subgroup of $E^{ab}$ of order $|E^{ab}|/4 = 2$ such that $E^{ab}/(N/E') \cong C_4$. The subgroups of order $2$ of $\langle \overline{a} \rangle \times \langle \overline{a} \, \overline{b}^{-1} \rangle$ are $\langle \overline{a}^2 \rangle$, $\langle \overline{a} \, \overline{b}^{-1} \rangle$ and $\langle \overline{a}^3 \, \overline{b}^{-1} \rangle$, and the quotient by the first one is $C_2 \times C_2$. Hence $N/E'$ is one of the last two subgroups, i.e. $N$ contains $u := ab^{-1}$ or $u := a^3 b^{-1}$. Using \equref{inmult} we obtain $b^{-1} a = a^{\theta^{-1} (1)} b^{\varphi (-1)} = a^{-1} b$ and $b^{-1} a^3 = a^{-3} b$, so \begin{equation*} (ab^{-1})^2 = a \, (b^{-1} a) \, b^{-1} = a \, a^{-1} b \, b^{-1} = 1, \qquad (a^3 b^{-1})^2 = a^3 \, (b^{-1} a^3) \, b^{-1} = 1. \end{equation*} Thus $u \in N$ is an involution, and $u \notin E'$, since its image in $E^{ab}$ is non-trivial. On the other hand, $|E'| = |E| / |E^{ab}| = nm/8$ is even (as $4 \, | \, n$ and $4 \, | \, m$), so $E'$ also contains an involution $u' \neq u$. Then $N$ contains two distinct involutions $u$ and $u'$, which is impossible since $N$ is cyclic. Finally, if $\min \{n, \, m\} = 2$, then all bicrossed products $C_n \bic C_m$ are semidirect products by \cite[Theorem 2.1]{ACIM}, while if $n$, $m \geq 4$ the group $E_{n, m}$ is not. \end{proof} A second family of examples, which also contains bicrossed products of two cyclic groups of odd orders, is obtained from Frobenius groups. Recall that a Frobenius group $F = K \rtimes H$ with cyclic kernel $K = \langle \kappa \rangle \cong C_k$ and cyclic complement $H = \langle c \rangle \cong C_h$, $h > 1$, is a semidirect product in which every element $c^i \neq 1$ of $H$ acts on $K$ by an automorphism without nontrivial fixed points \cite[Chapter V, \S 8]{HuppertBook}. Equivalently, $c \kappa c^{-1} = \kappa^t$, where $t \in \U (\bZ_k)$ has order $h$ and $t^i - 1 \in \U (\bZ_k)$ for all $0 < i < h$. Such groups exist if and only if $h$ divides $p - 1$ for every prime divisor $p$ of $k$. For instance, the dihedral group $D_{2k}$ of order $2k$, $k$ odd, is a Frobenius group with kernel $C_k$ and complement $C_2$, and $C_7 \rtimes C_3$, $C_{13} \rtimes C_3$ and $C_{11} \rtimes C_5$ are Frobenius groups. We need the following well known properties. \begin{lemma}\lelabel{frob} Let $F = K \rtimes H$ be a Frobenius group as above. Then: \begin{enumerate}[(1)] \item $\gcd (h, \, k) = 1$; \item the centralizer of any element $1 \neq \kappa^x \in K$ is contained in $K$; \item any normal subgroup of $F$ is either contained in $K$ or contains $K$. \end{enumerate} \end{lemma} \begin{proof} (1) Let $p$ be a prime divisor of $k$. Since $t^i - 1$ is a unit modulo $k$ for $0 < i < h$, we have $t^i \not\equiv 1$ (mod $p$) for $0 < i < h$, while $t^h \equiv 1$ (mod $p$). Hence $t$ has order $h$ modulo $p$, so $h \, | \, p - 1$ and $p \nmid h$. (2) Any element of $F$ can be written as $\kappa^y c^i$, with $0 \leq i < h$, and $\kappa^y c^i \, \kappa^x \, (\kappa^y c^i)^{-1} = \kappa^{t^i x}$. Thus $\kappa^y c^i$ centralizes $\kappa^x$ if and only if $(t^i - 1) x \equiv 0$ (mod $k$). If $0 < i < h$, then $t^i - 1$ is a unit, so $x \equiv 0$, i.e. $\kappa^x = 1$. Hence the centralizer of $\kappa^x \neq 1$ consists of elements with $i = 0$, i.e. it is contained in $K$. (3) Let $N$ be a normal subgroup of $F$ which is not contained in $K$. Then $N$ contains an element $g = \kappa^y c^i$ with $0 < i < h$. As $N$ is normal, $N$ contains the commutator $\kappa \, (g \kappa^{-1} g^{-1}) = \kappa \, \kappa^{- t^i} = \kappa^{1 - t^i}$. Since $1 - t^i$ is a unit modulo $k$, $\kappa^{1 - t^i}$ generates $K$. Thus $K \subseteq N$. \end{proof} \begin{theorem}\thlabel{frobenius} Let $F_1 = K_1 \rtimes H_1$ and $F_2 = K_2 \rtimes H_2$ be two Frobenius groups with cyclic kernels $K_i \cong C_{k_i}$ and cyclic complements $H_i \cong C_{h_i}$, $i = 1, 2$, such that $\gcd (h_1, \, k_2) = \gcd (k_1, \, h_2) = 1$. Let $H_i = \langle c_i \rangle$, $K_i = \langle \kappa_i \rangle$, and \begin{equation*} a := (c_1, \, \kappa_2), \qquad b := (\kappa_1, \, c_2) \in F_1 \times F_2. \end{equation*} Then $F_1 \times F_2 = \langle a \rangle \langle b \rangle$ is an exact factorization, $|a| = h_1 k_2$, $|b| = k_1 h_2$, and $F_1 \times F_2$ is not isomorphic to a semidirect product of $C_{h_1 k_2}$ and $C_{k_1 h_2}$. \end{theorem} \begin{proof} We divide the proof into three steps. \textbf{Step 1: the factorization.} Since $\gcd (h_1, \, k_2) = 1$, the element $a = (c_1, \, \kappa_2)$ has order $h_1 k_2$ and $\langle a \rangle = \langle c_1 \rangle \times \langle \kappa_2 \rangle = H_1 \times K_2$. Similarly, $\langle b \rangle = K_1 \times H_2$ and $|b| = k_1 h_2$. Hence \begin{equation*} \langle a \rangle \cap \langle b \rangle = (H_1 \times K_2) \cap (K_1 \times H_2) = (H_1 \cap K_1) \times (K_2 \cap H_2) = \{1\}, \end{equation*} and $|\langle a \rangle| \, |\langle b \rangle| = h_1 k_1 h_2 k_2 = |F_1 \times F_2|$. Thus $F_1 \times F_2 = \langle a \rangle \langle b \rangle$ is an exact factorization. \textbf{Step 2: the normal cyclic subgroups.} Let $N$ be a normal cyclic subgroup of $F_1 \times F_2$ and let $\pi_i \colon F_1 \times F_2 \to F_i$ be the projections. Then $\pi_i (N)$ is a normal cyclic subgroup of $F_i$. Assume that $\pi_i (N) \not\subseteq K_i$. By \leref{frob} (3), $K_i \subseteq \pi_i (N)$. As $\pi_i (N)$ is cyclic, hence abelian, it centralizes $\kappa_i \neq 1$, so $\pi_i (N) \subseteq K_i$ by \leref{frob} (2), a contradiction. Hence $\pi_i (N) \subseteq K_i$ for $i = 1, 2$, i.e. $N \subseteq K_1 \times K_2$, and $|N|$ divides $k_1 k_2$. \textbf{Step 3: conclusion.} If $F_1 \times F_2$ were isomorphic to a semidirect product of $C_{h_1 k_2}$ and $C_{k_1 h_2}$, then it would have a normal cyclic subgroup $N$ of order $h_1 k_2$ or $k_1 h_2$. By Step 2, $h_1 k_2 \, | \, k_1 k_2$ or $k_1 h_2 \, | \, k_1 k_2$, i.e. $h_1 \, | \, k_1 k_2$ or $h_2 \, | \, k_1 k_2$. But $\gcd (h_1, \, k_1) = 1$ by \leref{frob} (1) and $\gcd (h_1, \, k_2) = 1$ by hypothesis, so $\gcd (h_1, \, k_1 k_2) = 1$, and $h_1 \, | \, k_1 k_2$ would give $h_1 = 1$, which is impossible. In the same way, $h_2 \nmid k_1 k_2$. This contradiction finishes the proof. \end{proof} \begin{corollary}\colabel{dihedral} \begin{enumerate}[(1)] \item Let $k$, $l \geq 3$ be odd integers. Then $D_{2k} \times D_{2l}$ is a bicrossed product of $C_{2l}$ and $C_{2k}$ which is not a semidirect product of these two groups. The smallest example is $S_3 \times S_3 \cong C_6 \bic C_6$. \item The following groups are bicrossed products $C_n \bic C_m$ which are not semidirect products of $C_n$ and $C_m$: \begin{itemize} \item $D_{10} \times (C_7 \rtimes C_3)$, for $(n, \, m) = (14, \, 15)$; \item $S_3 \times (C_{11} \rtimes C_5)$, for $(n, \, m) = (15, \, 22)$; \item $(C_7 \rtimes C_3) \times (C_7 \rtimes C_3)$, for $(n, \, m) = (21, \, 21)$; \item $(C_7 \rtimes C_3) \times (C_{13} \rtimes C_3)$, for $(n, \, m) = (21, \, 39)$. \end{itemize} \end{enumerate} \end{corollary} \begin{proof} (1) We apply \thref{frobenius} for $F_1 = D_{2k}$ ($k_1 = k$, $h_1 = 2$) and $F_2 = D_{2l}$ ($k_2 = l$, $h_2 = 2$): the conditions $\gcd (2, \, l) = \gcd (k, \, 2) = 1$ hold since $k$ and $l$ are odd, and $h_1 k_2 = 2l$, $k_1 h_2 = 2k$. (2) We apply \thref{frobenius} for the indicated Frobenius groups. For instance, for $F_1 = D_{10}$ ($k_1 = 5$, $h_1 = 2$) and $F_2 = C_7 \rtimes C_3$ ($k_2 = 7$, $h_2 = 3$) we have $\gcd (2, \, 7) = \gcd (5, \, 3) = 1$, $h_1 k_2 = 14$ and $k_1 h_2 = 15$. The other three cases are similar. \end{proof} Not all examples are of the form given by \thref{even} or \thref{frobenius}. For instance, the smallest bicrossed products of two cyclic groups of odd orders which are not semidirect products of the factors occur for $(n, \, m) = (9, \, 21)$, $(9, \, 39)$, $(21, \, 21)$, $(9, \, 57)$, $(9, \, 63)$ and $(21, \, 27)$. The first two of them are \begin{equation*} C_9 \bic C_{21} \cong C_7 \rtimes (C_9 \rtimes C_3), \qquad C_9 \bic C_{39} \cong C_{13} \rtimes (C_9 \rtimes C_3) \end{equation*} ($\texttt{SmallGroup}(189, 7)$ and $\texttt{SmallGroup}(351, 7)$), which are not direct products. For one even and one odd order, the first examples occur for $(n, \, m) = (14, \, 15)$, $(15, \, 18)$, $(14, \, 21)$, $(15, \, 22)$, $(9, \, 42)$ and $(18, \, 21)$; for instance, $C_{15} \bic C_{18} \cong (C_9 \rtimes C_3) \times D_{10}$, where $C_9 \rtimes C_3$ is not a Frobenius group. \tabref{nonsdlist} lists, for each $n \leq 44$, all $m \geq n$ with $nm \leq 2000$ and $n$ or $m$ odd, for which there exists a bicrossed product $C_n \bic C_m$ which is not a semidirect product. These data suggest the following problem: \textbf{Problem}: \emph{Characterize the pairs $(n, \, m)$ for which every bicrossed product $C_n \bic C_m$ is isomorphic to a semidirect product $C_n \rtimes C_m$ or $C_m \rtimes C_n$.} By \cite[Theorem 2.1]{ACIM} and \thref{even}, the answer contains all pairs with $n$ or $m$ prime, and no pair of even integers $n$, $m \geq 4$. By \thref{frobenius}, it contains no pair of the form $(h_1 k_2, \, k_1 h_2)$ as above. The computations show, for example, that for $n \in \{4, 6, 8, 10, 12, 16, 20, 24, 30, 32, 34, 40\}$ and $m$ odd, with $m \geq n$ and $nm \leq 2000$, all bicrossed products $C_n \bic C_m$ are semidirect products, while for $n = 14$ this fails exactly for the odd $m \leq 142$ which are divisible by $3$ but are not powers of $3$. {\footnotesize\begin{longtable}{rp{13cm}} \caption{For $n\leq 44$: the values $m\geq n$ with $nm\leq 2000$ and $n$ or $m$ odd (the pairs of even integers $n, m\geq 4$ are covered by \thref{even}) for which there exists a bicrossed product $C_n\bic C_m$ not isomorphic to a semidirect product of $C_n$ and $C_m$.}\label{tab:nonsdlist}\\ $n$ & $m$\\\hline\endfirsthead $n$ & $m$\\\hline\endhead 2 & none\\ 3 & none\\ 4 & none\\ 5 & none\\ 6 & none\\ 7 & none\\ 8 & none\\ 9 & 21, 39, 42, 57, 63, 78, 81, 84, 93, 105, 111, 114, 117, 126, 129, 147, 156, 162, 168, 171, 183, 186, 189, 195, 201, 210, 219, 222\\ 10 & none\\ 11 & none\\ 12 & none\\ 13 & none\\ 14 & 15, 21, 33, 39, 45, 51, 57, 63, 69, 75, 87, 93, 99, 105, 111, 117, 123, 129, 135, 141\\ 15 & 18, 22, 26, 28, 36, 38, 42, 44, 50, 52, 54, 56, 62, 66, 70, 72, 74, 76, 78, 82, 84, 86, 88, 90, 98, 100, 104, 108, 110, 112, 114, 122, 124, 126, 130, 132\\ 16 & none\\ 17 & none\\ 18 & 21, 33, 39, 51, 57, 63, 69, 75, 81, 87, 93, 105, 111\\ 19 & none\\ 20 & none\\ 21 & 21, 26, 27, 28, 36, 38, 39, 42, 45, 52, 54, 56, 57, 58, 62, 63, 70, 72, 74, 76, 78, 81, 84, 86, 90, 93\\ 22 & 35, 45, 55, 65, 75, 85\\ 23 & none\\ 24 & none\\ 25 & 55\\ 26 & 33, 39, 45, 51, 57, 63, 69, 75\\ 27 & 39, 42, 57, 63\\ 28 & 33, 39, 45, 51, 57, 63, 69\\ 29 & none\\ 30 & none\\ 31 & none\\ 32 & none\\ 33 & 35, 36, 38, 42, 45, 46, 52, 54, 56\\ 34 & none\\ 35 & 44, 50\\ 36 & 39, 51\\ 37 & none\\ 38 & 39, 45, 51\\ 39 & 39, 42, 45\\ 40 & none\\ 41 & none\\ 42 & 45\\ 43 & none\\ 44 & 45\\ \end{longtable}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{The bicrossed products \texorpdfstring{$C_4 \bic C_m$}{C4 x Cm}}\selabel{C4} In this section we apply \prref{n4} in order to describe and classify, up to an isomorphism of groups, all bicrossed products $C_4 \bic C_m$. Throughout this section we use the following notation: \begin{itemize} \item $m = 2^e m'$, with $e \geq 0$ and $m'$ odd, and $q := 2^e$; \item $\omega := \omega (m')$ is the number of distinct prime divisors of $m'$, and $\omega_1$ is the number of those prime divisors which are congruent to $1$ modulo $4$; \item $N (4, \, m)$ is the number of isomorphism types of groups $C_4 \bic C_m$. \end{itemize} Let $(\theta, \, \varphi) \in \MP (4, \, m)$. By \prref{n4}, $\theta = \pm \id$. Moreover, there exists $\lambda$ such that $\varphi (y) = \lambda y$ for all $y \in q \bZ_m$: in the cases (a) and (b) of \prref{n4} we take $\lambda := t$, and in the case (c) we take $\lambda := c$, by \equref{fi4}. In all cases $\lambda$ is a unit, $\lambda^4 \equiv 1$, and $\lambda^2 \equiv 1$ if $\theta = - \id$ (modulo $m$ in the cases (a), (b) and modulo $m/2$ in the case (c)). Since $m'$ divides $m/2$ whenever $e \geq 1$, the residue \begin{equation}\eqlabel{c4u} u := \lambda \,\, ({\rm mod} \,\, m') \in \U (\bZ_{m'}) \end{equation} is well defined, and $u^4 = 1$, $u^2 = 1$ if $\theta = - \id$. \subsection{Reduction to the \texorpdfstring{$2$}{2}-part}\sselabel{C4red} The first result reduces the problem to the case $m = q$, i.e. to the classification of the $2$-groups $C_4 \bic C_q$. \begin{theorem}\thlabel{C4red} Let $(\theta, \, \varphi) \in \MP (4, \, m)$, $E = C_4 \bic C_m$ the associated bicrossed product and $u$ given by \equref{c4u}. Then: \begin{enumerate}[(1)] \item $K := \langle b^q \rangle \cong C_{m'}$ is a normal subgroup of $E$ and it is the unique subgroup of $E$ of order $m'$. Moreover, $b$ centralizes $K$ and $a^{-1} \kappa \, a = \kappa^u$, for all $\kappa \in K$. \item $P := E/K = \langle \overline{a} \rangle \langle \overline{b} \rangle$ is the bicrossed product $C_4 \bic C_q$ associated to the matched pair $(\theta, \, \overline{\varphi}) \in \MP (4, \, q)$, where $\overline{\varphi} (y) := \varphi (y)$ (mod $q$). Furthermore, \begin{equation*} E \cong C_{m'} \rtimes_\rho P, \end{equation*} where $\rho \colon P \to \U (\bZ_{m'}) = \Aut (C_{m'})$ is the morphism of groups given by $\rho (\overline{a}) = u$ and $\rho (\overline{b}) = 1$. \item Let $E'$ be another bicrossed product $C_4 \bic C_m$, with associated pair $(P', \, \rho')$ as in (2). Then $E \cong E'$ if and only if there exists an isomorphism of groups $f \colon P \to P'$ such that $\rho' \circ f = \rho$. \item Conversely, let $(\theta, \, \psi) \in \MP (4, \, q)$, let $P = \langle \alpha \rangle \langle \beta \rangle$ be the associated bicrossed product $C_4 \bic C_q$, and let $u \in \U (\bZ_{m'})$ with $u^4 = 1$, and $u^2 = 1$ if $\theta = - \id$. Then $\rho (\alpha) := u$, $\rho (\beta) := 1$ defines a morphism of groups $\rho \colon P \to \U (\bZ_{m'})$, and $C_{m'} \rtimes_\rho P$ is a bicrossed product $C_4 \bic C_m$. \end{enumerate} \end{theorem} \begin{proof} (1) Let $y \in q \bZ_m$. Then $\theta^y = \id$: if $e \geq 1$, $y$ is even and $\theta^2 = \id$; if $e = 0$, then $\ord (\theta)$ divides both $2$ and the odd integer $m$, so $\theta = \id$. By \equref{inmult} we obtain $b^y a = a^{\theta^y (1)} b^{\varphi (y)} = a \, b^{\lambda y}$, i.e. \begin{equation*} a^{-1} b^y a = b^{\lambda y}, \qquad {\rm for \,\, all} \,\, y \in q \bZ_m. \end{equation*} Thus $K = \langle b^q \rangle$ is normalized by $a$; it is obviously normalized by $b$, hence $K$ is a normal subgroup of $E$, and $a^{-1} \kappa \, a = \kappa^{\lambda} = \kappa^u$ for all $\kappa \in K$. Since $|K| = m'$ is coprime to its index $4q$, $K$ is a normal Hall subgroup of $E$; hence it contains every subgroup of $E$ whose order divides $m'$, and therefore it is the unique subgroup of order $m'$. Finally, $b$ centralizes $K \subseteq \langle b \rangle$. (2) Since $K \subseteq \langle b \rangle$ and $\langle a \rangle \cap \langle b \rangle = \{1\}$, the image $\overline{a}$ of $a$ in $E/K$ has order $4$, $\overline{b}$ has order $q$ and $\langle \overline{a} \rangle \cap \langle \overline{b} \rangle = \{1\}$. As $|E/K| = 4q$, the factorization $E/K = \langle \overline{a} \rangle \langle \overline{b} \rangle$ is exact. Projecting \equref{inmult} onto $E/K$ we obtain $\overline{b} \, \overline{a}^x = \overline{a}^{\theta (x)} \, \overline{b}^{\varphi^x (1)}$ and $\overline{b}^y \, \overline{a} = \overline{a}^{\theta^y (1)} \, \overline{b}^{\varphi (y)}$. Hence the pair associated to the factorization of $E/K$ is $(\theta, \, \overline{\varphi})$; in particular, $\overline{\varphi}$ is well defined. Since $\gcd (m', \, 4q) = 1$, the Schur--Zassenhaus theorem shows that $K$ has a complement $Q \cong P$ in $E$, and $E = K \rtimes Q$. As $K$ is abelian, the action of $Q$ on $K$ by conjugation factors through $E/K = P$; by (1), $\overline{a}$ acts by $\kappa \mapsto \kappa^u$ and $\overline{b}$ acts trivially. Thus $E \cong C_{m'} \rtimes_\rho P$, with $\rho$ as in the statement. (3) We identify $\Aut (C_{m'})$ with $\U (\bZ_{m'})$, the unit $v$ corresponding to the power map $\kappa \mapsto \kappa^v$. This identification does not depend on the choice of a generator of $C_{m'}$, and an isomorphism $\psi \colon K \to K'$ of cyclic groups satisfies $\psi (\kappa^v) = \psi (\kappa)^v$. Let $F \colon E \to E'$ be an isomorphism of groups. By (1), $F (K) = K'$, so $F$ induces an isomorphism $f \colon P = E/K \to P' = E'/K'$. For $g \in E$ and $\kappa \in K$ we have \begin{equation*} F (\kappa)^{\rho (\overline{g})} = F \bigl( \kappa^{\rho (\overline{g})} \bigr) = F (g^{-1} \kappa \, g) = F (g)^{-1} F (\kappa) F (g) = F (\kappa)^{\rho' (f (\overline{g}))}, \end{equation*} hence $\rho' \circ f = \rho$. Conversely, let $f \colon P \to P'$ be an isomorphism with $\rho' \circ f = \rho$. Write $E = K \rtimes_\rho P$, $E' = K' \rtimes_{\rho'} P'$, and let $\psi \colon K \to K'$ be any isomorphism. Then $F (\kappa g) := \psi (\kappa) f (g)$, for $\kappa \in K$ and $g \in P$, is a bijection and it is a morphism of groups, since \begin{equation*} f (g)^{-1} \psi (\kappa) f (g) = \psi (\kappa)^{\rho' (f (g))} = \psi (\kappa)^{\rho (g)} = \psi \bigl( \kappa^{\rho (g)} \bigr) = \psi (g^{-1} \kappa \, g). \end{equation*} Thus $E \cong E'$. (4) By \thref{prezentare}, $P$ is defined by the relations $\alpha^4 = \beta^q = 1$ and $\beta \alpha^x = \alpha^{\theta (x)} \beta^{\psi^x (1)}$, $1 \leq x \leq \ord (\psi)$. Their images in the abelian group $\U (\bZ_{m'})$ are $u^4 = 1$ and $u^x = u^{\theta (x)}$; the last one is obvious if $\theta = \id$, and if $\theta = - \id$ it reads $u^{2x} = 1$, which holds since $u^2 = 1$. Hence $\rho$ is a well defined morphism of groups. Let $E := K \rtimes_\rho P$, where $K = \langle \kappa \rangle \cong C_{m'}$, and put $a := \alpha$, $b := \kappa \beta$. Since $\rho (\beta) = 1$, $\kappa$ and $\beta$ commute, and as their orders are coprime, $b$ has order $m' q = m$ and $\langle b \rangle = K \times \langle \beta \rangle$. If $a^x \in \langle b \rangle$, then the image of $a^x$ in $E/K \cong P$ belongs to $\langle \alpha \rangle \cap \langle \beta \rangle = \{1\}$, so $x \equiv 0$ (mod $4$). Thus $\langle a \rangle \cap \langle b \rangle = \{1\}$, and since $|\langle a \rangle| \, |\langle b \rangle| = 4m = |E|$, we obtain $E = \langle a \rangle \langle b \rangle$, an exact factorization through $C_4$ and $C_m$. \end{proof} In the situation of \thref{C4red}, the image $\rho (P) = \langle u \rangle$ is a cyclic subgroup of $\U (\bZ_{m'})$ of order $d \in \{1, \, 2, \, 4\}$; we shall say that $(P, \, \rho)$ is a \emph{pair of degree $d$}. The pairs which appear in \thref{C4red} are characterized by the following property: $P = \langle \alpha \rangle \langle \beta \rangle$ for some exact factorization with $|\alpha| = 4$, $|\beta| = q$ and $\rho (\beta) = 1$. We call such pairs \emph{admissible}. Since $\U (\bZ_{m'})$ contains $2^{\omega} - 1$ subgroups of order $2$ and $2^{\omega - 1} (2^{\omega_1} - 1)$ cyclic subgroups of order $4$ (it is the product of the cyclic groups $\U (\bZ_{p^k})$, $p^k \| m'$, and $\U (\bZ_{p^k})$ contains $\gcd (4, \, p - 1)$ elements $v$ with $v^4 = 1$), \thref{C4red} gives: \begin{corollary}\colabel{C4count} For $d \in \{1, \, 2, \, 4\}$, let $N_e (d)$ be the number of isomorphism classes of admissible pairs $(P, \, \chi)$, where $P$ is a bicrossed product $C_4 \bic C_q$ and $\chi \colon P \to C_d$ is a surjective morphism of groups; two pairs $(P, \, \chi)$ and $(P', \, \chi')$ are isomorphic if $\chi' \circ f = \chi$ for some isomorphism of groups $f \colon P \to P'$. Then \begin{equation}\eqlabel{c4formula} N (4, \, m) = N_e (1) + N_e (2) \, (2^{\omega} - 1) + N_e (4) \, 2^{\omega - 1} (2^{\omega_1} - 1). \end{equation} \end{corollary} \begin{proof} By \thref{C4red} (2)-(4), the isomorphism types of groups $C_4 \bic C_m$ are in bijection with the isomorphism classes of admissible pairs $(P, \, \rho)$, $\rho \colon P \to \U (\bZ_{m'})$; note that, in \thref{C4red} (4), the condition $u^2 = 1$ for $\theta = - \id$ is automatic for an admissible pair, since $\beta \alpha \beta^{-1} \in \alpha^{-1} \langle \beta \rangle$. The subgroup $\rho (P)$ is an invariant of the class of $(P, \, \rho)$, by \thref{C4red} (3). For a fixed cyclic subgroup $U_0 \leq \U (\bZ_{m'})$ of order $d$, an isomorphism $U_0 \cong C_d$ identifies the classes of pairs with $\rho (P) = U_0$ with the classes of pairs $(P, \, \chi)$ counted by $N_e (d)$. Summing over all $U_0$ we obtain \equref{c4formula}. \end{proof} \subsection{The \texorpdfstring{$2$}{2}-groups \texorpdfstring{$C_4 \bic C_q$}{C4 x Cq}}\sselabel{C4two} It remains to compute the numbers $N_e (d)$. We first introduce two families of groups. For $t \in \varsigma (4, \, q)$ let \begin{equation*} I (t) := \bigl\langle a, \, b \mid a^4 = b^q = 1, \;\; a^{-1} b a = b^t \bigr\rangle \cong C_q \rtimes_t C_4, \end{equation*} which is the bicrossed product associated to the matched pair $(\id, \, t \, \id)$. For $\theta = - \id$, all the permutations $\varphi$ of \prref{n4} (b) and (c) are of the form \begin{equation*} \varphi_{d, c} (2j) = 2cj, \qquad \varphi_{d, c} (2j + 1) = d + 2cj, \qquad j \in \bZ, \end{equation*} with $(d, \, c) = (t, \, t)$ in the case (b) and $c = d - q/4$ in the case (c); note that only $c$ modulo $q/2$ matters. We denote by $G (d, \, c)$ the bicrossed product associated to the matched pair $(- \id, \, \varphi_{d, c})$. Since $\ord (\theta) = 2$, \thref{prezentare} \equref{prez2} gives \begin{equation*} G (d, \, c) \cong \bigl\langle a, \, b \mid a^4 = b^q = 1, \;\; ba = a^{-1} b^d, \;\; a^{-1} b^2 a = b^{2c} \bigr\rangle. \end{equation*} By \equref{inmult}, the multiplications of these groups are given by \begin{align} (a^{x_1} b^{y_1}) (a^{x_2} b^{y_2}) & = a^{x_1 + x_2} \, b^{t^{x_2} y_1 + y_2} \qquad \text{in } I (t), \eqlabel{c4multI}\\ (a^{x_1} b^{y_1}) (a^{x_2} b^{y_2}) & = a^{x_1 + (-1)^{y_1} x_2} \, b^{\varphi_{d, c}^{x_2} (y_1) + y_2} \qquad \text{in } G (d, \, c). \eqlabel{c4multG} \end{align} From now on, until \thref{C4two}, we assume $e \geq 4$, and we put $h := q/2$ and $k := q/4$. \begin{lemma}\lelabel{C4reps} Let $e \geq 4$. Then $|\MP (4, \, q)| = 16$, and every bicrossed product $C_4 \bic C_q$ is isomorphic, by an isomorphism which maps the two distinguished generators $a$ and $b$ to powers $a'^{\, i}$ and $b'^{\, j}$ of the distinguished generators of the target, to one of the following $12$ groups: \begin{equation*} \begin{array}{llll} P_1 := I (1), & P_2 := I (1 + h), & P_3 := I (1 + k), & P_4 := I (-1),\\ P_5 := I (-1 + h), & P_6 := I (-1 + k), & P_7 := G (1, \, 1), & P'_7 := G (1 + h, \, 1 + h),\\ P_8 := G (-1, \, -1), & P_9 := G (-1 + h, \, -1 + h), & P_{10} := G (1 + k, \, 1), & P_{11} := G (-1, \, -1 - k). \end{array} \end{equation*} \end{lemma} \begin{proof} Since $\U (\bZ_q) \cong C_2 \times C_{2^{e - 2}}$, we have $|\varsigma (4, \, q)| = 8$ and $|\varsigma (2, \, q)| = 4$. As $e \geq 4$, we have $(1 \pm k)^2 = 1 \pm h + q^2/16 \equiv 1 + h$ and $(-1 \pm k)^2 \equiv 1 + h$ (mod $q$), and therefore \begin{equation*} \varsigma (4, \, q) = \{\pm 1, \, \pm 1 + h, \, 1 \pm k, \, -1 \pm k\}, \qquad \varsigma (2, \, q) = \{\pm 1, \, \pm 1 + h\}. \end{equation*} By \prref{n4}, $|\MP (4, \, q)| = 8 + 4 + 2^{1 + \omega (q/8)} = 16$. We use the action of \prref{orbite}, which corresponds to replacing the generators $a$, $b$ by $a^i$, $b^j$. For the pairs $(\id, \, t \, \id)$ of type (a), $(i, \, j) \cdot (\id, \, t \, \id) = (\id, \, t^i \, \id)$; taking $i = 3$ we can replace $t$ by $t^{-1} = t^3$. Since $(1 + k)^{-1} = (1 + h) (1 + k) \equiv 1 - k$ and $(-1 + k)^{-1} \equiv -1 - k$, the $8$ pairs of type (a) give the $6$ groups $P_1, \ldots, P_6$. The $4$ pairs of type (b) give $P_7$, $P'_7$, $P_8$ and $P_9$. In the case (c), $L := q/8$ and the solutions of $(\delta - L) (\delta + 1) \equiv 0$ (mod $2L$) in $\bZ_{4L}$ are $\delta \in \{L, \, 3L, \, -1, \, 2L - 1\}$, i.e. \begin{equation*} (d, \, c) \in \bigl\{ (1 + k, \, 1), \;\; (1 - k, \, 1), \;\; (-1, \, -1 - k), \;\; (-1 + h, \, -1 + k) \bigr\}. \end{equation*} For $j \in \U (\bZ_q)$, a direct computation gives $(1, \, j) \cdot (- \id, \, \varphi_{d, c}) = (- \id, \, \varphi_{d', c})$, with $d' = c + j^{-1} (d - c)$. Since $d - c = k$, taking $j = -1$ we obtain $d' = c - k = d - h$. Thus $G (1 - k, \, 1) \cong G (1 + k, \, 1) = P_{10}$ and $G (-1 + h, \, -1 + k) \cong G (-1, \, -1 - k) = P_{11}$. \end{proof} \begin{lemma}\lelabel{C4merge} Let $e \geq 3$. In the group $P'_7 = G (1 + h, \, 1 + h)$ let $a' := a b^k$. Then $P'_7 = \langle a' \rangle \langle b \rangle$ is an exact factorization, $|a'| = 4$, and $b a' b^{-1} = a'^{\, -1}$. In particular, the map $a \mapsto a'$, $b \mapsto b$ defines an isomorphism $P_7 = G (1, \, 1) \to P'_7$. \end{lemma} \begin{proof} Let $t := 1 + h$. By \equref{c4multG}, $b^k a = a^{(-1)^k} b^{t k} = a \, b^k$, since $k$ is even and $hk \equiv 0$ (mod $q$); thus $a$ and $b^k$ commute. Hence $a'^{\, 2} = a^2 b^h \neq 1$ and $a'^{\, 4} = b^{4k} = 1$, so $|a'| = 4$. From $ba = a^{-1} b^{t}$ we get $b a b^{-1} = a^{-1} b^h$, and therefore \begin{equation*} b a' b^{-1} = (b a b^{-1}) \, b^k = a^{-1} b^{h + k} = a^{-1} b^{-k} = (a b^k)^{-1} = a'^{\, -1}, \end{equation*} where we used $h + k = 3k \equiv -k$ (mod $q$). The elements $a'$, $a'^{\, 2} = a^2 b^h$ and $a'^{\, 3} = a^3 b^{3k}$ do not belong to $\langle b \rangle$, so $\langle a' \rangle \cap \langle b \rangle = \{1\}$, and $P'_7 = \langle a' \rangle \langle b \rangle$ since both sides have $4q$ elements. The relation $b a' b^{-1} = a'^{\, -1}$ shows that the pair associated to this factorization is $(- \id, \, \id)$, i.e. $P'_7 \cong G (1, \, 1)$ via $a \mapsto a'$, $b \mapsto b$. \end{proof} The next lemma shows that the remaining $11$ groups are pairwise non-isomorphic. \begin{lemma}\lelabel{C4inv} Let $e \geq 4$. Then: \begin{enumerate}[(1)] \item The abelianizations of the groups $P_1, \ldots, P_{11}$ are: \begin{equation*} P_1^{ab} \cong C_4 \times C_q, \quad P_2^{ab} \cong C_4 \times C_h, \quad P_3^{ab} \cong C_4 \times C_k, \quad P_7^{ab} \cong C_2 \times C_q, \quad P_{10}^{ab} \cong C_2 \times C_h, \end{equation*} and $P_i^{ab} \cong C_2 \times C_4$ for $i \in \{4, \, 5, \, 6, \, 8, \, 9, \, 11\}$. \item The groups $P_4$, $P_5$, $P_6$ and $P_9$ have exactly $3$ involutions, $P_8$ has $q + 3$ involutions and $P_{11}$ has $h + 3$ involutions. \item $|Z (P_4)| = |Z (P_5)| = 4$ and $|Z (P_6)| = 2$. \item $P_4$, $P_5$ and $P_6$ have a normal cyclic subgroup of order $q$, while $P_7, \ldots, P_{11}$ have no normal cyclic subgroup of order $q$. \item Let $P \in \{P_4, \, P_5\}$, i.e. $P = I (t)$ with $t \in \{-1, \, -1 + h\}$. Then $P$ has exactly two cyclic subgroups of order $q$, both of them normal, and the automorphisms of $C_q$ induced on each of them by conjugation are exactly the elements of $\{1, \, t\} \subseteq \U (\bZ_q)$. \item $P_1, \ldots, P_7$ are semidirect products of $C_4$ and $C_q$, while $P_8, \ldots, P_{11}$ are not. \end{enumerate} Consequently, the groups $P_1, \ldots, P_{11}$ are pairwise non-isomorphic. \end{lemma} \begin{proof} (1) We abelianize the presentations. For $I (t)$ the relations become $4a = 0$, $qb = 0$ and $(t - 1) b = 0$, so $I (t)^{ab} \cong C_4 \times C_{\gcd (q, \, t - 1)}$. We have $\gcd (q, \, t - 1) = q$, $h$, $k$ for $t = 1$, $1 + h$, $1 + k$, respectively, and $\gcd (q, \, t - 1) = 2$ for $t \in \{-1, \, -1 + h, \, -1 + k\}$, since then $t - 1 \equiv 2$ (mod $4$). For $G (d, \, c)$ the relations become $4a = 0$, $qb = 0$, $2a + (1 - d) b = 0$ and $2 (c - 1) b = 0$, so $G (d, \, c)^{ab} \cong \bZ^2 / R$, where $R$ is generated by $(4, \, 0)$, $(0, \, q)$, $(2, \, 1 - d)$ and $(0, \, 2 (c - 1))$: \begin{itemize} \item for $(d, \, c) = (1, \, 1)$, $R = \langle (2, \, 0), \, (0, \, q) \rangle$ and $P_7^{ab} \cong C_2 \times C_q$; \item for $(d, \, c) = (1 + k, \, 1)$, $R = \langle (2, \, -k), \, (0, \, h) \rangle$ (note that $(4, \, 0) - 2 (2, \, -k) = (0, \, h)$); the elementary divisors of the matrix with rows $(2, \, -k)$ and $(0, \, h)$ are $2$ and $q/2$, so $P_{10}^{ab} \cong C_2 \times C_h$; \item for $(d, \, c) \in \{(-1, \, -1), \, (-1 + h, \, -1 + h), \, (-1, \, -1 - k)\}$, $R$ contains $(2, \, 2)$ (since $h \equiv 0$ mod $4$) and $(0, \, 4) = 2 (2, \, 2) - (4, \, 0)$, and in all three cases $R = \langle (2, \, 2), \, (0, \, 4) \rangle$, because the other generators belong to this subgroup; hence the abelianization is $C_2 \times C_4$. \end{itemize} The abelian groups $C_4 \times C_q$, $C_4 \times C_h$, $C_4 \times C_k$, $C_2 \times C_q$, $C_2 \times C_h$ and $C_2 \times C_4$ are pairwise non-isomorphic: their orders are $4q$, $2q$, $q$, $2q$, $q$ and $8 < q$, and the groups of the same order have different exponents. (2) Let $g = a^x b^y$. In $I (t)$, by \equref{c4multI}, $g^2 = a^{2x} b^{(t^x + 1) y}$. Thus $g^2 = 1$ forces $x \in \{0, \, 2\}$, and then $t^x + 1 \in \{2, \, t^2 + 1\}$ is twice an odd number, since $t^2 \equiv 1$ (mod $8$). Hence $g^2 = 1$ if and only if $x \in \{0, \, 2\}$ and $y \in \{0, \, h\}$, and $I (t)$ has exactly $3$ involutions, $b^h$, $a^2$ and $a^2 b^h$. In $G (d, \, c)$, by \equref{c4multG}, $g^2 = a^{x + (-1)^y x} b^{\varphi^x (y) + y}$, where $\varphi = \varphi_{d, c}$. \begin{itemize} \item If $y$ is even, then $\varphi^x (y) = c^x y$ and $g^2 = a^{2x} b^{(c^x + 1) y}$; as above, we obtain exactly the $3$ involutions $b^h$, $a^2$ and $a^2 b^h$. \item If $y$ is odd, then $g^2 = b^{\varphi^x (y) + y}$, and $g$ is an involution if and only if $\varphi^x (y) \equiv -y$ (mod $q$). \end{itemize} For $\varphi = t \, \id$, $t^2 = 1$ (the groups $P_8$ and $P_9$), the condition $t^x y \equiv -y$ means $t^x = -1$, i.e. $t = -1$ and $x$ odd. Thus $P_9$ has no involutions with $y$ odd, while $P_8$ has $2 \cdot h = q$ of them. For $P_{11}$ we have $(d, \, c) = (-1, \, -1 - k)$, and for $y = 2j + 1$: \begin{equation*} \varphi (y) = -1 + c (y - 1), \qquad \varphi (y) + y = (c + 1) (y - 1) = 2 (c + 1) j \equiv h j \quad ({\rm mod} \,\, q), \end{equation*} since $2 (c + 1) = -2k \equiv h$ (mod $q$). Moreover, by the proof of \prref{n4} (Step 5), $\varphi^2 (y) = y + 2 (c + 1) \delta = y + h$ for $y$ odd (here $\delta = -1$). We analyze the four values of $x$: \begin{itemize} \item $x = 0$: $y \equiv -y$ is impossible for $y$ odd; \item $x = 2$: $y + h \equiv -y$ means $2y \equiv h$ (mod $q$), which is impossible for $y$ odd, since $h \equiv 0$ (mod $4$); \item $x = 1$: $\varphi (y) \equiv - y$ if and only if $hj \equiv 0$, i.e. $j$ is even, i.e. $y \equiv 1$ (mod $4$); there are $k$ such $y$; \item $x = 3$: $\varphi^3 (y) = \varphi^{-1} (y) \equiv - y$ if and only if $y = \varphi (-y) = -1 - c (y + 1)$, i.e. $(c + 1) (y + 1) \equiv 0$, i.e. $h (y + 1)/2 \equiv 0$, i.e. $y \equiv 3$ (mod $4$); there are $k$ such $y$. \end{itemize} Hence $P_{11}$ has $3 + 2k = h + 3$ involutions. (3) Let $P = I (t)$ with $t \in \{-1, \, -1 + h, \, -1 + k\}$. By \equref{c4multI}, $a^x b^y$ commutes with $b$ if and only if $t^x \equiv 1$, and with $a$ if and only if $(t - 1) y \equiv 0$ (mod $q$). Since $t - 1 \equiv 2$ (mod $4$), the second condition means $y \in \{0, \, h\}$. If $t \in \{-1, \, -1 + h\}$, then $t^2 = 1 \neq t$, so the first condition means $x \in \{0, \, 2\}$ and $|Z (P)| = 4$. If $t = -1 + k$, then $t^2 \equiv 1 + h \neq 1$, so $t$ has order $4$, the first condition means $x = 0$, and $|Z (P)| = 2$. (4) In $I (t)$ the subgroup $\langle b \rangle$ is normal. Let now $P = G (d, \, c)$ be one of the groups $P_7, \ldots, P_{11}$. In all five cases $c^2 \equiv 1$ (mod $h$): this is clear for $c = \pm 1$ and $c = -1 + h$, and for $c = -1 - k$ we have $c^2 = 1 + 2k + k^2 \equiv 1$ (mod $h$), since $2k = h$ and $e \geq 3$. Let $g = a^x b^y$. \begin{itemize} \item If $y$ is even, then $|g| < q$. Indeed, $\langle b^2 \rangle = \core_P \langle b \rangle$ is normal, by \leref{core}, so $H := \langle a \rangle \langle b^2 \rangle$ is a subgroup and $g \in H$. In $H$, $a^{-1} b^2 a = b^{2c}$, and since $c^2 \equiv 1$ (mod $h$), $a^2$ is central in $H$. If $x$ is even, then $|g| \leq {\rm lcm} (2, \, h) = h$. If $x$ is odd and $y = 2j$, then $g^2 = a^2 b^{2j (c + 1)}$ and $g^4 = b^{4j (c + 1)}$; as $c + 1$ is even, $g^4 \in \langle b^8 \rangle$, which has order $q/8$, so $|g| \leq q/2$. \item If $y$ is odd, then $g^2 = b^{\varphi_{d, c}^x (y) + y} \in \langle b \rangle$, by \equref{c4multG}. Thus, if $|g| = q$, then $\langle g^2 \rangle = \langle b^2 \rangle$ and $\langle g \rangle = \langle b^2 \rangle \cup g \langle b^2 \rangle$. Moreover, by \equref{c4multG}, $a^{-1} g \, a = a^{x - 1} (b^y a) = a^{x - 2} b^{\varphi_{d, c} (y)}$, since $\theta^y (1) = -1$. The exponent of $a$ in this element is $x - 2 \neq x$, and $\varphi_{d, c} (y)$ is odd; hence $a^{-1} g \, a \notin \langle g \rangle$. \end{itemize} Thus every cyclic subgroup of order $q$ of $P$ is generated by an element $a^x b^y$ with $y$ odd, and it is not normal. (5) Let $P = I (t)$, $t \in \{-1, \, -1 + h\}$; then $t^2 = 1$ and $a^2$ is central. Let $g = a^x b^y$. If $x$ is odd, then $g^2 = a^2 b^{(t + 1) y}$ with $(t + 1) y \in \{0, \, hy\}$, so $|g| = 4$. If $x$ is even, $a^x$ is central and $|g| = q$ if and only if $y$ is odd. As $(a^2 b)^j = a^{2j} b^j$, the cyclic subgroups of order $q$ are exactly $\langle b \rangle$ and $\langle a^2 b \rangle$. Both are normal: $b$ centralizes them, $a^{-1} b a = b^t$ and $a^{-1} (a^2 b) a = a^2 b^t = (a^2 b)^t$, as $t$ is odd. Hence conjugation by $a^x b^y$ induces on each of them the power map $t^x$, and the set of induced automorphisms is $\{1, \, t\}$. (6) $P_1, \ldots, P_6$ are semidirect products $C_q \rtimes C_4$, with $\langle b \rangle$ normal, and $P_7 = C_4 \rtimes C_q$, with $\langle a \rangle$ normal. Let $P \in \{P_8, \, P_9, \, P_{10}, \, P_{11}\}$. By (1), $P^{ab}$ is $C_2 \times C_4$ or $C_2 \times C_h$, so it has no cyclic quotient of order $q$; hence $P$ has no normal subgroup $N$ with $P/N \cong C_q$, and $P$ is not a semidirect product $C_4 \rtimes C_q$. By (4), $P$ has no normal cyclic subgroup of order $q$, so it is not a semidirect product $C_q \rtimes C_4$ either. Finally, we prove that the groups $P_1, \ldots, P_{11}$ are pairwise non-isomorphic. By (1), $P_1$, $P_2$, $P_3$, $P_7$ and $P_{10}$ are determined by their abelianizations, and the remaining six groups have abelianization $C_2 \times C_4$. Among these six, $P_8$ and $P_{11}$ are determined by their number of involutions, by (2), since $q + 3$, $h + 3$ and $3$ are distinct. By (4), $P_9$ is not isomorphic to $P_4$, $P_5$ or $P_6$, and by (3), $P_6$ is not isomorphic to $P_4$ or $P_5$. Finally, assume that $F \colon P_4 \to P_5$ is an isomorphism, and let $N$ be a cyclic subgroup of order $q$ of $P_4$. Then $F (N)$ is a cyclic subgroup of order $q$ of $P_5$, and if conjugation by $g$ induces $\kappa \mapsto \kappa^v$ on $N$, then conjugation by $F (g)$ induces $\kappa' \mapsto \kappa'^{\, v}$ on $F (N)$. By (5), $\{1, \, -1\} = \{1, \, -1 + h\}$ in $\U (\bZ_q)$, a contradiction. \end{proof} We can now compute the numbers $N_e (d)$ of \coref{C4count}. \begin{theorem}\thlabel{C4two} \begin{enumerate}[(1)] \item For any $e \geq 0$ we have $N_e (4) = |\varsigma (4, \, 2^e)|$, i.e. $N_e (4) = 1, \, 1, \, 2, \, 4, \, 8$ for $e = 0, \, 1, \, 2, \, 3$ and $e \geq 4$, respectively. \item For $e \geq 4$, every bicrossed product $C_4 \bic C_{2^e}$ is isomorphic to exactly one of the $11$ groups $P_1, \ldots, P_{11}$ of \leref{C4reps}, and $N_e (1) = N_e (2) = 11$. \item For $e \leq 3$, the groups $C_4 \bic C_{2^e}$ are listed in \tabref{C4small}, and $(N_e (1), \, N_e (2)) = (1, \, 1)$, $(2, \, 2)$, $(3, \, 4)$, $(8, \, 8)$ for $e = 0, \, 1, \, 2, \, 3$, respectively. \end{enumerate} \end{theorem} \begin{proof} (1) Let $(P, \, \chi)$ be an admissible pair of degree $4$, and let $P = \langle \alpha \rangle \langle \beta \rangle$ be an exact factorization with $|\alpha| = 4$, $|\beta| = q$ and $\chi (\beta) = 1$. Then $\langle \beta \rangle \subseteq \ker (\chi)$ and both subgroups have index $4$, so $\ker (\chi) = \langle \beta \rangle$ is normal. Thus $\theta = \id$ for the matched pair of this factorization, i.e. $P = I (t)$ with $a = \alpha$, $b = \beta$, for some $t \in \varsigma (4, \, q)$. Replacing $\alpha$ by $\alpha^{-1}$ if necessary (which replaces $t$ by $t^{-1}$), we can assume that $\chi (a)$ is a fixed generator $\gamma$ of $C_4$. Conversely, for any $t \in \varsigma (4, \, q)$, $\chi_t (a) := \gamma$, $\chi_t (b) := 1$ defines an admissible pair $(I (t), \, \chi_t)$. Assume that $f \colon I (t) \to I (t')$ is an isomorphism with $\chi_{t'} \circ f = \chi_t$, where $I (t') = \langle a' \rangle \langle b' \rangle$. Then $f (\langle b \rangle) = f (\ker \chi_t) = \ker \chi_{t'} = \langle b' \rangle$, and $f (a) = a'^{\, i} b'^{\, j}$ with $\gamma^i = \chi_{t'} (f (a)) = \chi_t (a) = \gamma$, i.e. $i = 1$. Since $\langle b' \rangle$ is abelian, conjugation by $f (a) = a' b'^{\, j}$ induces on $\langle b' \rangle$ the power map $t'$. On the other hand, $f (a)^{-1} f (b) f (a) = f (a^{-1} b a) = f (b)^t$, and $f (b)$ generates $\langle b' \rangle$. Hence $t = t'$. Thus $N_e (4) = |\varsigma (4, \, q)|$. Finally, $|\varsigma (4, \, 2^e)| = 1, 1, 2, 4$ for $e \leq 3$ and $8$ for $e \geq 4$, since $\U (\bZ_{2^e}) \cong C_2 \times C_{2^{e - 2}}$ for $e \geq 2$. (2) By \leref{C4reps} and \leref{C4merge}, every bicrossed product $C_4 \bic C_q$ is isomorphic to one of $P_1, \ldots, P_{11}$, and by \leref{C4inv} these groups are pairwise non-isomorphic; hence $N_e (1) = 11$. Let now $(P, \, \chi)$ be an admissible pair of degree $2$, with $P = \langle \alpha \rangle \langle \beta \rangle$ as in (1). Then $\chi (\alpha)$ is the generator of $C_2$, and $\chi$ is determined by the factorization. The isomorphisms of \leref{C4reps} replace $\alpha$ by an odd power $\alpha^i$, so they preserve the condition $\chi (\alpha) \neq 1 = \chi (\beta)$; the same holds for the isomorphism of \leref{C4merge}, since $\chi (a b^k) = \chi (a)$. Hence every admissible pair of degree $2$ is isomorphic to one of the pairs $(P_i, \, \chi_i)$, $1 \leq i \leq 11$, where $\chi_i (a) \neq 1$ and $\chi_i (b) = 1$. These $11$ pairs are pairwise non-isomorphic, since the groups $P_i$ are. Thus $N_e (2) = 11$. (3) For $e \leq 3$ the groups have order at most $32$. The list of \tabref{C4small} follows from \prref{n4}, \prref{orbite} and the identification of the groups in the library of small groups \cite{BEO}; the values of $N_e (2)$ follow in the same way from the computation of the groups $C_4 \bic C_{3 \cdot 2^e}$ in \seref{clasif} and \equref{c4formula} for $m = 3 \cdot 2^e$. For instance, for $e = 2$ we have $I (-1) \cong G (1, \, 1) \cong C_4 \rtimes C_4$, but the corresponding pairs of degree $2$ are not isomorphic, so that $N_2 (1) = 3$ and $N_2 (2) = 4$. \end{proof} \begin{table}[ht] \centering\small \renewcommand{\arraystretch}{1.2} \begin{tabular}{cl>{\raggedright\arraybackslash}p{9cm}} \toprule $e$ & $N_e (1)$ & the groups $C_4 \bic C_{2^e}$ (\texttt{IdGroup}) \\ \midrule $0$ & $1$ & $C_4$ \\ $1$ & $2$ & $I (1) = C_4 \times C_2$ $[8, 2]$; $G (1, 1) \cong D_8$ $[8, 3]$ \\ $2$ & $3$ & $I (1) = C_4 \times C_4$ $[16, 2]$; $I (-1) \cong G (1, 1)$ $[16, 4]$; $G (-1, -1)$ $[16, 3]$ \\ $3$ & $8$ & $I (1)$ $[32, 3]$; $I (3)$ $[32, 13]$; $I (5)$ $[32, 4]$; $I (7)$ $[32, 14]$; $G (1, 1) \cong G (5, 5)$ $[32, 12]$; $G (3, 3)$ $[32, 10]$; $G (7, 7)$ $[32, 9]$; $G (3, 1) \cong G (7, 1)$ $[32, 11]$ \\ $4$ & $11$ & $P_1, \ldots, P_{11}$ = $[64, 26]$, $[64, 27]$, $[64, 28]$, $[64, 47]$, $[64, 48]$, $[64, 46]$, $[64, 44]$, $[64, 38]$, $[64, 39]$, $[64, 45]$, $[64, 41]$ \\ \bottomrule \end{tabular} \caption{The bicrossed products $C_4 \bic C_{2^e}$ for $e \leq 4$.}\label{tab:C4small} \end{table} \subsection{The classification}\sselabel{C4final} Putting together \coref{C4count} and \thref{C4two} we obtain the complete answer for $n = 4$. \begin{corollary}\colabel{C4final} Let $m = 2^e m'$, with $m'$ odd, and let $\omega$, $\omega_1$ be as above. Then \begin{equation*} N (4, \, m) = A_e + B_e \, (2^{\omega} - 1) + C_e \, 2^{\omega - 1} (2^{\omega_1} - 1), \end{equation*} where $(A_e, \, B_e, \, C_e) = (1, 1, 1)$, $(2, 2, 1)$, $(3, 4, 2)$, $(8, 8, 4)$ for $e = 0, \, 1, \, 2, \, 3$, and $(A_e, \, B_e, \, C_e) = (11, 11, 8)$ for $e \geq 4$. Moreover, a complete list of representatives of the isomorphism types of groups $C_4 \bic C_m$ is the following: \begin{enumerate}[(1)] \item the $A_e$ groups $C_{m'} \times P$, where $P$ runs through the list of \thref{C4two}; \item for each subgroup $\langle u \rangle$ of order $2$ of $\U (\bZ_{m'})$, the $B_e$ groups $C_{m'} \rtimes_\rho P$ of \thref{C4red} (4) with $\rho (a) = u$, $\rho (b) = 1$, where $P$ runs through the list of \thref{C4two} (for $e = 2$ one has to take both $I (-1)$ and $G (1, 1)$); \item for each cyclic subgroup $\langle u \rangle$ of order $4$ of $\U (\bZ_{m'})$, the $C_e$ groups $C_m \rtimes_\tau C_4 = \langle a, \, b \mid a^4 = b^m = 1, \, a^{-1} b a = b^\tau \rangle$, where $\tau \equiv u$ (mod $m'$) and $\tau$ (mod $2^e$) runs through $\varsigma (4, \, 2^e)$. \end{enumerate} In particular, for $e \geq 4$ we have $N (4, \, m) = 11 \cdot 2^{\omega} + 2^{\omega + 2} (2^{\omega_1} - 1)$, and for $m$ odd every bicrossed product $C_4 \bic C_m$ is a semidirect product $C_m \rtimes C_4$, the number of isomorphism types being the number $2^{\omega - 1} (2^{\omega_1} + 1)$ of cyclic subgroups of $\varsigma (4, \, m)$ (for $m > 1$). \end{corollary} \begin{proof} The formula follows from \coref{C4count} and \thref{C4two}. The list follows from \thref{C4red} and from the proofs of \coref{C4count} and \thref{C4two}: in (3), the group $C_{m'} \rtimes_\rho I (t)$, with $\rho (a) = u$ and $\rho (b) = 1$, is $C_m \rtimes_\tau C_4$ with $\tau \equiv t$ (mod $2^e$) and $\tau \equiv u$ (mod $m'$). For $e \geq 4$ we have $A_e + B_e (2^\omega - 1) = 11 \cdot 2^{\omega}$ and $C_e \, 2^{\omega - 1} = 2^{\omega + 2}$. If $m$ is odd, then $e = 0$, $\theta = \id$ and $N (4, \, m) = 1 + (2^\omega - 1) + 2^{\omega - 1} (2^{\omega_1} - 1) = 2^{\omega - 1} (2^{\omega_1} + 1)$. \end{proof} \begin{remarks}\relabel{C4rem} \begin{enumerate}[(1)] \item The formula of \coref{C4final} agrees with the direct computation of \seref{clasif} for all the $500$ values $m \leq 500$. For instance, $N (4, \, 5) = 3$, $N (4, \, 60) = 19$, $N (4, \, 80) = 30$, $N (4, \, 2^e) = 11$ for $4 \leq e \leq 8$, and $N (4, \, 65) = 10$. \item By \leref{C4inv} (6), for $e \geq 4$ exactly four of the eleven groups $C_4 \bic C_{2^e}$, namely $P_8$, $P_9$, $P_{10}$ and $P_{11}$, are not semidirect products of $C_4$ and $C_{2^e}$; $P_8$ is the group $E_{4, 2^e}$ of \thref{even}. \item The groups $C_4 \bic C_{2^e}$ have a cyclic subgroup of index $4$, namely $\langle b \rangle$. The finite $2$-groups with a cyclic subgroup of index $4$ were classified by Y. Ninomiya \cite[Theorem 2]{Ninomiya} (see also \cite[Theorem 3.2]{Kang}, and \cite[Section 11]{BJ1}, \cite[Section 74]{BJ2} for a different proof). Taking $\sigma = b$ and $\tau = a$, the groups $P_2$, $P_3$, $P_4$, $P_5$, $P_6$ and $P_7$ are exactly the groups $G_1$, $G_{19}$, $G_6$, $G_7$, $G_{20}$ and $G_9$ of \cite[Theorem 2]{Ninomiya}. A computation with GAP shows that, for $e = 4$ and $e = 5$, the groups $P_8$, $P_9$, $P_{10}$ and $P_{11}$ are isomorphic to $G_{13}$, $G_{14}$, $G_{21}$ and $G_{18}$, respectively. Our proof of \leref{C4inv} is direct and does not use this classification. \item Every skew morphism of $\bZ_4$ is an automorphism (Step 1 of the proof of \prref{n4}; this is also a particular case of \cite[Theorem 6.3]{KN1}). Hence, as observed in \cite[Remark 2]{HNWY}, the set $\MP (4, \, m)$, i.e. the set of reciprocal pairs of skew morphisms of $\bZ_m$ and $\bZ_4$, can also be obtained from \cite[Theorem 14]{HNWY}, which describes all reciprocal pairs in which one of the two skew morphisms is an automorphism. The explicit form of \prref{n4} and the number $|\MP (4, \, m)|$ are not given in \cite{HNWY}. The isomorphism problem for the groups is considered in \cite[Remark 3]{HNWY} only for one example, $(n, \, m) = (9, \, 27)$: there are $4$ groups, in accordance with our computations. As far as we know, the classification of the groups $C_4 \bic C_m$ up to an isomorphism of groups given in \coref{C4final} is new. \end{enumerate} \end{remarks} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{Remarks on some previous results}\selabel{remarks} We collect here some corrections to \cite{AIM, AM} and some comments on the recent literature. \begin{remarks} \begin{enumerate}[(1)] \item In \cite[Remark 2.2]{AIM} it is stated that replacing the generator $a$ by $a^i$ changes the pair $(\theta, \, \varphi)$ into $(\theta, \, \varphi^i)$. The correct pair is $(\theta_{i, 1}, \, \varphi_{i, 1})$, with $\theta_{i, 1} (x) = i^{-1} \theta (ix)$, see \prref{orbite} and \cite[(123)]{D2}. In the situation of \cite[Theorem 2.5]{AIM} ($\theta$ linear) the two descriptions coincide. \item The result quoted in \cite[Theorem 2.3]{AIM} (a special substitution on a prime range is linear) is \cite[Theorem XXIV]{D2}; \cite[Theorem XXV]{D2} deals with special substitutions of prime period. \item The bicrossed products described in \cite[p. 10]{AIM} are quotients of the groups $K (p, M, t)$ defined there by generators and relations, but in general they are not isomorphic to them (\exref{contra} (3)); a correct presentation is given by \thref{prezentare}. By \cite[Theorem 2.1]{ACIM} the groups $C_p \bic C_m$ are semidirect products, so the published version \cite{ACIM} does not use the groups $K (p, M, t)$. \item In \cite[Proposition 4.2 (iii)]{AM} the number of matched pairs between $C_3$ and $C_m$, for $6 \, | \, m$, is $3 + |\varsigma (3, \, m)|$, not $2 + |\varsigma (3, \, m)|$. Indeed, besides the $|\varsigma (3, \, m)|$ pairs with trivial $\la$, there are the pair (ii) with trivial $\ra$ and the two pairs of (iii); for $m = 6$ this gives the four matched pairs listed after \cite[Proposition 4.2]{AM}. For $m$ even and $3 \nmid m$ the number is $1 + |\varsigma (3, \, m)|$, and for $m$ odd it is $|\varsigma (3, \, m)|$. These formulas agree with our computations. \item \cite[Theorem 9]{Sn} and \cite[Theorem 13]{Sn} (isomorphisms of knit products leaving one of the factors invariant) are \cite[Proposition 2.1]{AM}, stated there for $\sigma$-invariant morphisms, and its symmetric version obtained via \cite[Proposition 1.5]{ACIM}; \cite[Corollaries 11, 12, 15, 16]{Sn} follow from \cite[Proposition 2.1]{AM} in the same way as \cite[Corollaries 3.4, 3.5]{AM}. \item The presentation \cite[(8)]{AKC} of a Zappa--Sz\'ep product of groups, obtained by adding to the relations of the factors only the relations $xy = (x \la y) (x \ra y)$ for generators $x$ and $y$, does not present the Zappa--Sz\'ep product in general, see \exref{contra}. \item For the relation between our results and those of \cite{HNWY, FHNSW}, written in the language of skew morphisms, we refer to \sseref{skew}. \end{enumerate} \end{remarks} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section*{Appendix: the programs} The computations were done with a Python program, with a small C kernel for the backtracking search of \reref{algoritm} (1), and with GAP \cite{GAP} and its packages SmallGrp and ANUPQ. The main functions are: \texttt{MP(n,m)} (\thref{lifting}), \texttt{certify} (\reref{douglasrem} (1)), \texttt{orbits} (\prref{orbite}), \texttt{presentation} (\thref{prezentare}) and the identification of the groups. For $n$, $m \leq 7$ the results were compared with a brute force search over all pairs of permutations, and every pair $(\theta, \, \varphi)$ which appears in the tables was certified by \reref{douglasrem} (1). The presentations of \thref{prezentare} were also checked by coset enumeration for all the $3664$ matched pairs with $nm \leq 300$. The program computes, for instance, $\MP (36, \, 36)$ ($256$ matched pairs) in about $3$ seconds and $\MP (48, \, 48)$ ($1024$ matched pairs) in less than $30$ seconds on a standard computer. \subsection*{Acknowledgements} Claude Opus~5.5 (Anthropic) was used in the preparation of this paper: to write and run the programs described in the Appendix, to carry out the computer verifications, and for drafting and proofreading. %All statements, proofs and computational results were checked by the author, who takes full responsibility for them. \begin{thebibliography}{99} \bibitem{AM} A.L. Agore and G. Militaru, \emph{Schreier type theorems for bicrossed products}, Cent. Eur. J. Math. \textbf{10} (2012), 722--739. \bibitem{ACIM} A.L. Agore, A. Chirv\u{a}situ, B. Ion and G. Militaru, \emph{Bicrossed products for finite groups}, Algebr. Represent. Theory \textbf{12} (2009), 481--488. \bibitem{AIM} A.L. Agore, B. Ion and G. Militaru, \emph{Factorization problems for finite groups}, preprint, 2007, arXiv:math/0703471v1. \bibitem{AKC} F. Ate\c{s}, E.G. Karpuz and A.S. \c{C}evik, \emph{Examining the defining relations of the Zappa--Sz\'ep product, along with the applications}, Discrete Math. \textbf{349} (2026), 115306. \bibitem{BEO} H.U. Besche, B. Eick and E.A. O'Brien, \emph{A millennium project: constructing small groups}, Internat. J. Algebra Comput. \textbf{12} (2002), 623--644. \bibitem{BJ1} Y. Berkovich and Z. Janko, \emph{Structure of finite $p$-groups with given subgroups}, in: Ischia Group Theory 2004, Contemp. Math. 402, Amer. Math. Soc., Providence, RI, 2006. \bibitem{BJ2} Y. Berkovich and Z. Janko, \emph{Groups of prime power order. Vol. 2}, Walter de Gruyter, Berlin, 2008. \bibitem{Cohn} P.M. Cohn, \emph{A remark on the general product of two infinite cyclic groups}, Arch. Math. \textbf{7} (1956), 94--99. \bibitem{CJT} M.D.E. Conder, R. Jajcay and T.W. Tucker, \emph{Cyclic complements and skew morphisms of groups}, J. Algebra \textbf{453} (2016), 68--100. \bibitem{D1} J. Douglas, \emph{On finite groups with two independent generators. I}, Proc. Nat. Acad. Sci. U.S.A. \textbf{37} (1951), 604--610. \bibitem{D2} J. Douglas, \emph{On finite groups with two independent generators. II}, Proc. Nat. Acad. Sci. U.S.A. \textbf{37} (1951), 677--691. \bibitem{D3} J. Douglas, \emph{On finite groups with two independent generators. III. Exponential substitutions}, Proc. Nat. Acad. Sci. U.S.A. \textbf{37} (1951), 749--760. \bibitem{D4} J. Douglas, \emph{On finite groups with two independent generators. IV. Conjugate substitutions}, Proc. Nat. Acad. Sci. U.S.A. \textbf{37} (1951), 808--813. \bibitem{D5} J. Douglas, \emph{On the supersolvability of bicyclic groups}, Proc. Nat. Acad. Sci. U.S.A. \textbf{47} (1961), 1493--1495. \bibitem{FL} W. Fan and C.H. Li, \emph{The complete bipartite graphs with a unique edge-transitive embedding}, J. Graph Theory \textbf{87} (2018), 581--586. \bibitem{FHNSW} Y.-Q. Feng, K. Hu, R. Nedela, M. \v{S}koviera and N.-E. Wang, \emph{Complete regular dessins and skew-morphisms of cyclic groups}, Ars Math. Contemp. \textbf{18} (2020), 289--307. \bibitem{GAP} The GAP Group, \emph{GAP -- Groups, Algorithms, and Programming}, \url{https://www.gap-system.org}. \bibitem{HKK} K. Hu, I. Kov\'acs and Y.S. Kwon, \emph{On exact products of a cyclic group and a dihedral group}, Comm. Algebra \textbf{53} (2025), 854--874. \bibitem{HNW} K. Hu, R. Nedela and N.-E. Wang, \emph{Complete regular dessins of odd prime power order}, Discrete Math. \textbf{342} (2019), 314--325. \bibitem{HNWY} K. Hu, R. Nedela, N.-E. Wang and K. Yuan, \emph{Reciprocal skew morphisms of cyclic groups}, Acta Math. Univ. Comenian. (N.S.) \textbf{88} (2019), 305--318. \bibitem{HY} K. Hu and H. Yu, \emph{On exact products of two dihedral groups}, Comm. Algebra \textbf{53} (2025), 4206--4214. \bibitem{Huppert} B. Huppert, \emph{\"Uber das Produkt von paarweise vertauschbaren zyklischen Gruppen}, Math. Z. \textbf{58} (1953), 243--264. \bibitem{HuppertBook} B. Huppert, \emph{Endliche Gruppen I}, Die Grundlehren der Mathematischen Wissenschaften 134, Springer-Verlag, Berlin, 1967. \bibitem{Ito} N. It\^o, \emph{\"Uber das Produkt von zwei abelschen Gruppen}, Math. Z. \textbf{62} (1955), 400--401. \bibitem{JS} R. Jajcay and J. \v{S}ir\'a\v{n}, \emph{Skew-morphisms of regular Cayley maps}, Discrete Math. \textbf{244} (2002), 167--179. \bibitem{Kang} M. Kang, \emph{Noether's problem for $p$-groups with a cyclic subgroup of index $p^2$}, preprint, 2010, arXiv:0911.1162v2. \bibitem{KN1} I. Kov\'acs and R. Nedela, \emph{Decomposition of skew-morphisms of cyclic groups}, Ars Math. Contemp. \textbf{4} (2011), 329--349. \bibitem{KN2} I. Kov\'acs and R. Nedela, \emph{Skew-morphisms of cyclic $p$-groups}, J. Group Theory \textbf{20} (2017), 1135--1154. \bibitem{Lu} A. Lucchini, \emph{On the order of transitive permutation groups with cyclic point-stabilizer}, Atti Accad. Naz. Lincei Cl. Sci. Fis. Mat. Natur. Rend. Lincei (9) Mat. Appl. \textbf{9} (1998), 241--243. \bibitem{Maillet} E. Maillet, \emph{Sur les groupes \'echangeables et les groupes d\'ecomposables}, Bull. Soc. Math. France \textbf{28} (1900), 7--16. \bibitem{Ninomiya} Y. Ninomiya, \emph{Finite $p$-groups with cyclic subgroups of index $p^2$}, Math. J. Okayama Univ. \textbf{36} (1994), 1--21. \bibitem{Ore} O. Ore, \emph{Structures and group theory I}, Duke Math. J. \textbf{3} (1937), 149--174. \bibitem{Redei} L. R\'edei, \emph{Zur Theorie der faktorisierbaren Gruppen I}, Acta Math. Acad. Sci. Hungar. \textbf{1} (1950), 74--98. \bibitem{Sn} N. Snanou, \emph{On the isomorphism problem for knit products}, Discuss. Math. Gen. Algebra Appl. \textbf{45} (2025), 177--189. \bibitem{Szep} J. Sz\'ep, \emph{\"Uber die als Produkt zweier Untergruppen darstellbaren endlichen Gruppen}, Comment. Math. Helv. \textbf{22} (1949), 31--33. \bibitem{Takeuchi} M. Takeuchi, \emph{Matched pairs of groups and bismash products of Hopf algebras}, Comm. Algebra \textbf{9} (1981), 841--882. \bibitem{Yacoub} K.R. Yacoub, \emph{On general products of two finite cyclic groups one of which being of order $p^2$}, Publ. Math. Debrecen \textbf{6} (1959), 26--39. \bibitem{Zappa} G. Zappa, \emph{Sulla costruzione dei gruppi prodotto di due dati sottogruppi permutabili tra loro}, in: Atti Secondo Congresso Un. Mat. Ital., Bologna, 1940, Edizioni Cremonense, Rome, 1942, 119--125. \end{thebibliography} \end{document}