Motivation : Let $n$ a positive integer , show that $2^{n+3} \mid 3^n +7$ has no solutions? and $3^n$ does not divide $4^n+5$ for $n\geq 2$
To solve the problems above, we need to find a nice upper bound for $v_p(x)$, thus for $x=3^n+7$ and $4^n+5$
So, in order to show that $2^{n+3} \mid 3^n+7$ or $3^n \mid 4^n+5$ , has no solutions, it suffices to prove the following:
$\forall n \in \mathbb{N^*} , v_2(3^n+7)\le n+2$ and $v_3(4^n+5)\le n-1$ for $n\ge2$
One famous bound is the following : If $n$ is a positive integer, then $v_p(n)\le \log_p(n)$
But it's not efficient for achieving our bound $n+2$ and $n-1$ , Here's why :
$2^{v_2(3^n+7)}\le 3^n + 7$, but $n+2 <3^n+7$
So, I wandered if one could find a sine expansion for $v_p(x)$ ?
because dealing with sine, would be sometimes better than a complicated function like $v_p(n)$
Especially, to find cool upper bounds like $v_2(3^n+7)\le n+2$ and $v_3(4^n+5)\le n-1$
My Attempts:
If we consider the following function : $\psi_n(x)=\sin\left(\displaystyle\frac{\pi x}{4^{n}}-\frac{\pi}{2}\right)+2n-1$
Then $v_2(x)=2n$ or $2n-1$ $\Rightarrow \psi_n(x)=v_2(x)$
But $\psi_n(x)$ give us $v_2(x)$ only for some n
Here's the plot of the first $\psi_n$ functions : https://www.desmos.com/calculator/lwtf2ewv9j
with the first even numbers up to $100$ in function of $v_2(x)$ :
How ever, $\psi_n(x)$ is a nice start !
but could someone combine all of $\psi_n$ to get a sine expansion for $v_2(x)$ or of $v_p(x)$ ?

