All variables involved are nonnegative integers.
Given a variable $g$, what is the largest $x$ where $g$ cleanly divides $x(x-1)$ and $x\lt g$? Do I only need prime factors of $g$?
All variables involved are nonnegative integers.
Given a variable $g$, what is the largest $x$ where $g$ cleanly divides $x(x-1)$ and $x\lt g$? Do I only need prime factors of $g$?
Also $g$ must be even...otherwise no such integer $x$ exists. So therefore $g\gt 2$, thanks to @Marvis' observation.This is wrong, thanks to a simple counter-example $g=15$, $x=6$ (thanks @Marvis!). – 2012-12-23