In this post we denote the Euler's totient function that counts the number of positive integers $1\leq k\leq n$ such that $\gcd(k,n)=1$ as $\varphi(n)$, and the sum of divisors function $\sum_{1\leq d\mid n}d$ as $\sigma(n)$.
We propose the first conjecture inspired in the form of near-square primes, that are the primes of the form $n^2+1$ corresponding to the sequence A002496 from the OEIS, and the second conjecture from the form of the primes $2^{2^n}+1$, that are the known as Fermat primes A019434 from the OEIS. As general reference I add the Wikipedia articles related to Landau's problems and for Fermat number.
Conjecture 1. Let $x> 1$ be an integer for which there exists a positive integer $y\geq 1$ such that the identity $$y^{x-1-\sigma(x)}=\frac{1}{\varphi(x)}\tag{1}$$ holds, then $x$ is a near-square prime.
As remark notice that we exclude the (input) case $x=1$ that corresponds to $x=0^2+1$, that is the specialization of $n^2+1$ for $n=0$, an integer that isn't a prime number.
Conjecture 2. Let $x\geq 1$ be an integer for which there exists a positive integer $y\geq 1$ such that the identity $$-(\sigma(x)-x+1)^y=\log_2\left(\frac{1}{\varphi(x)}\right)\tag{2}$$ holds, then $x$ is a Fermat prime greater than $3$.
As remark the equation $(2)$ excludes (as output) the first Fermat prime that corresponds to the specialization of $2^{2^n}+1$ for $n=0$.
Question. What work can be done with the purpose to prove or refute previous conjectures? Can you find counterexamples? Many thanks.
Computational experiments. You can check in the web Sage Cell Server this (or similar ones) line written in Pari/GP
for(x=2, 10000, for(y=1, 100, if(y^(x-1-sigma(x))==1/eulerphi(x),print(x," ",y))))
just copy and paste it to evaluate in the web choosing as Language the option GP.
And for the second of our conjectures we've the following or similar
for(x=1, 10000, for(y=1, 100, if((sigma(x)-x+1)^y==log(eulerphi(x))/log(2),print(x," ",y))))