find_close_factors
Find the largest factor of a given integer n that is closest to its square root.
This function identifies the largest integer factor of n less than or equal
to the square root of n.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
n
|
int
|
The integer whose factor is to be found. |
required |
Returns:
| Type | Description |
|---|---|
int or None
|
The largest factor of |
Raises:
| Type | Description |
|---|---|
ValueError
|
If |