OFFSET
0,5
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..10000
FORMULA
EXAMPLE
For n = 12:
- floor(12/1) = 12 is not a square number,
- floor(12/2) = 6 is not a square number,
- floor(12/3) = 4 is the square of 2,
- hence a(12) = 2.
PROG
(PARI) a(n) = for (k=1, oo, if (issquare(n\k), return (sqrtint(n\k))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Feb 02 2020
STATUS
approved