OFFSET
1,4
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MATHEMATICA
a[n_] := GCD[n, Floor[Sqrt[n]]]; Array[a, 100] (* Amiram Eldar, Nov 19 2024 *)
PROG
(Haskell)
a067815 n = gcd n $ a000196 n -- Reinhard Zumkeller, Jul 08 2014
(PARI) a(n) = gcd(n, sqrtint(n)); \\ Altug Alkan, Dec 19 2017
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Reinhard Zumkeller, Feb 08 2002
STATUS
approved