STATUS
reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
(Python)
from math import prod
from sympy.ntheory.residue_ntheory import quadratic_residues
def A372651(n): return prod(r for r in quadratic_residues(n) if r) # Chai Wah Wu, May 30 2024
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed
a(n) = Product_{k=1..floor(n/2)} (k^2 mod n) if (k^2 mod n) > 0.
proposed
editing
editing
proposed
a(n) = Product_{k=1..n} A046071(n,k).
proposed
editing