OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A087320(n)/n.
MAPLE
isA001597 := proc(n) local e, p ; if n = 1 then RETURN(true) ; fi; p := [] ; for e in ifactors(n)[2] do p := [op(p), op(2, e) ] ; od: if igcd(op(p)) > 1 then true; else false; fi; end: A160400 := proc(n) local a; for a from 1 do if isA001597(a*n) then RETURN(a) ; fi; od: end: seq(A160400(n), n=1..120) ; # R. J. Mathar, May 26 2009
MATHEMATICA
a[n_] := SelectFirst[Range[n], GCD @@ FactorInteger[n*#][[;; , 2]] > 1 &]; a[1] = 1; Array[a, 100] (* Amiram Eldar, Jul 09 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, May 12 2009
EXTENSIONS
More terms from R. J. Mathar, May 26 2009
STATUS
approved