OFFSET
1,1
COMMENTS
Increase each exponent in the prime factorization by one, then add 1 to the new product. - M. F. Hasler, Jan 22 2017
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A064549(n)+1.
MAPLE
a:= n-> 1+n*mul(i[1], i=ifactors(n)[2]):
seq(a(n), n=1..60); # Alois P. Heinz, Jan 22 2017
MATHEMATICA
A078310[n_] := n*Times @@ FactorInteger[n][[All, 1]] + 1; Array[A078310, 50] (* G. C. Greubel, Apr 25 2017 *)
PROG
(Haskell)
a078310 n = n * a007947 n + 1
-- Reinhard Zumkeller, Jul 23 2013, Oct 19 2011
(PARI) rad(n)=my(f=factor(n)[, 1]); prod(i=1, #f, f[i])
a(n)=n*rad(n)+1 \\ Charles R Greathouse IV, Jul 09 2013
(PARI) a(n)={n=factor(n); n[, 2]+=vectorv(matsize(n)[1], i, 1); factorback(n)+1} \\ M. F. Hasler, Jan 22 2017
(PARI) a(n)=prod(k=1, matsize(n=factor(n))[1], n[k, 1]^(n[k, 2]+1))+1 \\ M. F. Hasler, Jan 22 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Nov 23 2002
STATUS
approved