OFFSET
1,10
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
MATHEMATICA
a[n_] := Module[{p = FactorInteger[n][[;; , 1]]}, Floor[p[[-1]] / p[[1]]]]; Array[a, 100] (* Amiram Eldar, Oct 24 2024 *)
PROG
(PARI) A069897(n) = if(1==n, 1, my(f = factor(n), lpf = f[1, 1], gpf = f[#f~, 1]); (gpf\lpf)); \\ Antti Karttunen, Sep 07 2018
CROSSREFS
KEYWORD
AUTHOR
Labos Elemer, Apr 10 2002
EXTENSIONS
Term a(1) = 1 prepended by Antti Karttunen, Sep 07 2018
STATUS
approved