OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = n * A003961(n). - Franklin T. Adams-Watters, Nov 25 2011
Sum_{n>=1} 1/a(n) = 1/Product_{k>=1} (1 - 1/(prime(k)*prime(k+1))) = 1.37660546... . - Amiram Eldar, Jan 07 2023
MATHEMATICA
f[p_, e_] := (p * NextPrime[p])^(e); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Aug 04 2022 *)
PROG
(PARI) a(n)=local(fm); fm=factor(n); prod(k=1, matsize(fm)[1], (fm[k, 1]*nextprime(fm[k, 1]+1))^fm[k, 2])
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Franklin T. Adams-Watters, Jun 16 2011
STATUS
approved