While browsing the post Is there any integral for the golden ratio $\phi$?, I came across this nice answer, $$ \int_0^\infty \frac{1}{1+x^{10}}dx=\frac{\pi\,\phi}5$$ it seems the general form is just
$$p \int_0^\infty \frac{1}{1+x^{p}}dx=\color{blue}{\frac{\pi}{\sin\big(\tfrac{\pi}{p}\big)}}$$
I wondered about $$\int_0^\color{red}1 \frac{1}{1+x^p}dx=\,?$$ Mathematica could find messy closed-forms for $p=5,7$. After some laborious simplification, $$5\int_0^1 \frac{1}{1+x^5}dx=\frac{\pi\sqrt{\phi}}{5^{1/4}}+\ln2+\sqrt{5}\ln\phi$$
Question 1: In general, is it true that for any $p$ ,
$$2p\,\int_0^1 \frac{1}{1+x^p}dx=\color{blue}{\frac{\pi}{\sin\big(\tfrac{\pi}{p}\big)}}+2\ln2-\psi\big(\tfrac{1}{p}\big)+\psi\big(\tfrac{p-1}{2p}\big)+\psi\big(\tfrac{p+1}{2p}\big)-\psi\big(\tfrac{p-1}{p}\big)$$
where $\psi(z)$ is the digamma function?
Note: The four digammas, implemented in Mathematica as PolyGamma[z], can be expressed as a sum of cosines x logarithms for odd $p=2m+1$. Let $k=\frac{2n-1}{p}\pi$, then, $$-\psi\big(\tfrac{1}{p}\big)+\psi\big(\tfrac{p-1}{2p}\big)+\psi\big(\tfrac{p+1}{2p}\big)-\psi\big(\tfrac{p-1}{p}\big)=-4\sum_{n=1}^m \cos (k)\ln\big(\sin\tfrac{k}{2}\big)$$
Question 2: For even $p$, can we can also avoid the digamma by using cosines and logarithms?