Let $p$ be a prime and $n$ be a natural number.
Define inductively for prime numbers: $f_1(x) := 1$, $f_2(x):=x$, $f_p(x) := 1+\prod_{q\mid p-1} f_q(x)^{v_q(p-1)}$.
Is $f_p(x)$ always irreducible for each prime $p$?
Let $f_n(x):= \prod_{p\mid n} f_p(x)^{v_p(n)}$ for each natural number $n$.
Motivation: Define the arithmetic derivative as $n' := f'_n(x)|_{x=2}$. Then using an approach similar to here, I think that I can prove that for each prime $p>2$ we have:
$$\frac{p-1}{(p-1)'} \le \operatorname{rad}(p-1).$$
Thanks for your help.
Edit: Another motivation: If $f_p(x)$ is irreducible for each prime $p$ then we have the following by definition of $f_n(x)$:
$n$ is a prime number $\iff$ $f_n(x)$ is irreducible.
The degrees of $f_n(x)$ are the same as A064415:
$$0, 1, 1, 2, 2, 2, 2, 3, 2, 3, 3, 3, 3, 3, 3, 4, 4, 3, 3, 4, 3, 4, 4, 4, 4, 4, 3, 4, 4, 4, 4, 5, 4, 5, 4, 4, 4, 4, 4, 5, 5, 4, 4, 5, 4, 5, 5, 5, 4, 5, 5, 5, 5, 4, 5, 5, 4, 5, 5, 5, 5, 5, 4, 6, 5, 5, 5, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 4, 6, 6, 5, 6, 5, 5, 6, 6, 5, 5, 6, 5, 6, 5, 6, 6, 5, 5, 6, 6, 6, 6, 6, 5$$
which has been studied by Erdős, Granville, Pomerance and Spiro. This can be seen as follows: If $d(n) := \deg(f_n(x))$ then the function $d$ has the following properties:
$$d(1)= 0, d(2) = 1, d(mn) = d(m)+d(n) \forall m,n, d(p) = d(p-1) \forall \text{ primes } p > 2$$
which is one definiton of the OEIS sequence above.
Second edit: Here are more properties, for some of which I have used the irreducibility hypothesis as being true (wording: "should") and others for which I hope, but do not know if they are useful in proving the "irreducibility":
- $n = a \cdot b \iff f_a(x)\cdot f_b(x) = f_n(x)$.
- $f_n(x)$ is a separable polynomial $\iff n = \operatorname{rad}(n)$.
- $\gcd(f_m(x),f_n(x)) = f_{\gcd(m,n)}(x)$.
- If $p$ is a prime number, then $f_{p-1}(x)+1$ should (by the irreducibility hypothesis) be an irreducble polynomial.
- If $f_{p-1}(x) +1$ is not irreducible, then $p$ should not be prime.
- Let $W(m,n) = m'n-n'm$ denote the Wronskian and let the arithmetic derivative be defined as $n':=f'_n(x)|_{x=2}$. Assume that $m,n$ have $\gcd(m,n)=1$ and $W(m,n)\neq 0$. Then by the Mason–Stothers theorem for natural numbers, as linked above, we should get: $$mn(m+n) \le \operatorname{rad}(mn) \operatorname{rad}(f_m(x)+f_n(x))|_{x=2} \cdot |W(m,n)|.$$
- Let $\left < f,g \right > = \int_{-1}^1 f(x) g(x) \operatorname{d}x$ and $P_n$ be the Legendre poylnomials. Then $$f_n(x) = \sum_{l=0}^{d(n)} \frac{2l+1}{2} \left < f_n, P_l \right > P_l(x).$$
- Since $f_n(2)=n$ we get from 7.: $$n = \sum_{l=0}^{d(n)} \frac{2l+1}{2} \left < f_n, P_l \right > P_l(2).$$
- $p>2$ is prime $\iff$ we should have $f_p(x) = 1+f_{p-1}(x)$.
- If $G_n := ( \left < f_a, f_b \right >)_{1 \le a,b \le n}$ is the Gram matrix, then $\operatorname{rank}(G_n) = \operatorname{floor}(\frac{\log(n)}{\log(2)})+1$.
- $\forall n \in \mathbb{N}: f_n(x) = (x \cdot h_n(x)+\operatorname{floor}(\frac{n}{2}))\cdot(x-2)+n$ for some $h_n(x) \in \mathbb{Z}[x]$.
- It should be $\operatorname{rad}(f_n(x)) = \prod_{p|n}f_p(x)$.
- It should be $\operatorname{rad}(f_n(x))|_{x=2} = \operatorname{rad}(n)$.
- As the product of two primitive polynomials is primitive, we get by induction on $p$: $f_p(x)$ is primitive and so $f_n(x)$ is primitive as a product of primitive polynomials.
Edit: It is enough to show that $|\theta-2|>1$ for all roots $\theta$ of $f_p(x)$ and here is a proof and the idea by Nicolae Bonciocat which goes back to Weisner (1934) : L. Weisner, Criteria for the irreducibility of polynomials, Bull. Amer. Math. Soc. 40 (1934), 864–870.:
Assume that $f_p(X)=a_nX^n+\dotsb a_1X+a_0$ and $f_p(X)=f_1(X)f_2(X)$ with $f_1,f_2\in\mathbb{Z}[X]$ and $\deg f_1=m\geq 1$, $\deg f_2=t\geq 1$. Then $p=f_p(2)=f_1(2)f_2(2)$, and since $p$ is a prime number, one of $f_1(2)$ and $f_2(2)$ must have absolute value equal to $1$, say $|f_1(2)|=1$. On the other hand, if we write $f_1$ as $f_1(X)=b_mX^m+\dotsb b_1X+b_0$, with $b_m$ a divisor of $a_n$, we have $f_1(X)=b_m(X-\theta_1)\dotsm (X-\theta _m)$ for some roots $\theta _1,\dots ,\theta _m$ of $f_p$, so $1=|f_1(2)|=|b_m|\dotsm |2-\theta_1|\dotsm |2-\theta _m|$. Since $|b_m|\geq 1$, if we assume that $|\theta -2|>1$ for each root $\theta$ of $f_p$ (in particular for $\theta _1,\dots ,\theta _m$), we obtain $1\geq |2-\theta_1|\cdots |2-\theta _m|>1$, a contradiction. Thus $f_p$ must be irreducible.
I have checked in SageMath for $p \le 104729$ that the roots satisfy this criterion.
It seems possible to extend this procedure to the rationals:
$$f_{\frac{a}{b}}(x):=\frac{f_a(x)}{f_b(x)}, \text{ for } \gcd(a,b)=1$$
and for negative or zero set:
$$f_{-q}(x):=-f_q(x)$$
$$f_{0}(x):=0.$$
Using this method, I have visualized pairs of primes $p,q$ as $$f_{p}(x)/f_q(x)$$ in the complex plane. One can not escape the fascination of these images. It looks like some sort of force field between the zeros and the poles of the function, where the particles are either the zeros or the poles and the field is given by the contour plot: