[go: up one dir, main page]

login
Revision History for A372651 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(n) is the product of the distinct nonzero quadratic residues of n.
(history; published version)
#35 by Michel Marcus at Thu May 30 11:47:44 EDT 2024
STATUS

reviewed

approved

#34 by Stefano Spezia at Thu May 30 11:23:10 EDT 2024
STATUS

proposed

reviewed

#33 by Chai Wah Wu at Thu May 30 11:13:00 EDT 2024
STATUS

editing

proposed

#32 by Chai Wah Wu at Thu May 30 11:12:47 EDT 2024
PROG

(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

STATUS

approved

editing

#31 by Hugo Pfoertner at Thu May 30 04:46:02 EDT 2024
STATUS

reviewed

approved

#30 by Kevin Ryde at Thu May 30 04:37:41 EDT 2024
STATUS

proposed

reviewed

#29 by Darío Clavijo at Wed May 29 14:37:33 EDT 2024
STATUS

editing

proposed

#28 by Darío Clavijo at Wed May 29 14:37:31 EDT 2024
FORMULA

a(n) = Product_{k=1..floor(n/2)} (k^2 mod n) if (k^2 mod n) > 0.

STATUS

proposed

editing

#27 by Darío Clavijo at Wed May 29 14:33:37 EDT 2024
STATUS

editing

proposed

#26 by Darío Clavijo at Wed May 29 14:33:34 EDT 2024
FORMULA

a(n) = Product_{k=1..n} A046071(n,k).

STATUS

proposed

editing