The OEIS sequence A175908 represents a sequence derived from this formula:
- Using the Legendre $\operatorname{L}$-Function, I was able to prove that
- for primes $n$ of the form $4k + 1$, the value becomes $2$,
- and for primes of the form $4k + 3$, the value becomes a positive integer greater than or equal $\mbox{to}\ 2$.
- However, I am unsure how to calculate this value for general composite numbers $n$.
- For prime numbers, I could express this formula using the Legendre Symbol and complete the proof, but how should I approach it for composite numbers ?.