OFFSET
1,8
COMMENTS
Numerator of n/rad(n)^2, where rad is the squarefree kernel of n (A007947), denominator: A055231. - Reinhard Zumkeller, Dec 10 2002
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
Henry Bottomley, Some Smarandache-type multiplicative sequences.
FORMULA
a(n) = n / A007948(n).
Multiplicative with a(p^e) = p^max(e-2, 0). - Amiram Eldar, Sep 07 2020
Dirichlet g.f.: zeta(s-1) * Product_{p prime} (1 - 1/p^(s-1) + 1/p^s - 1/p^(2*s-1) + 1/p^(2*s)). - Amiram Eldar, Dec 07 2023
MATHEMATICA
f[p_, e_] := p^Max[e-2, 0]; a[n_] := Times @@ (f @@@ FactorInteger[n]); Array[a, 100] (* Amiram Eldar, Sep 07 2020 *)
PROG
(PARI) a(n)=my(f=factor(n)); prod(i=1, #f~, f[i, 1]^max(f[i, 2]-2, 0)) \\ Charles R Greathouse IV, Aug 08 2013
(Scheme)
(definec (A007948 n) (if (= 1 n) n (* (expt (A020639 n) (min 2 (A067029 n))) (A007948 (A028234 n)))))
;; Antti Karttunen, Nov 28 2017
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Henry Bottomley, Jun 18 2001
STATUS
approved