login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A304251 If n = Product (p_j^k_j) then a(n) = Sum (prime(p_j)^k_j). 3
0, 3, 5, 9, 11, 8, 17, 27, 25, 14, 31, 14, 41, 20, 16, 81, 59, 28, 67, 20, 22, 34, 83, 32, 121, 44, 125, 26, 109, 19, 127, 243, 36, 62, 28, 34, 157, 70, 46, 38, 179, 25, 191, 40, 36, 86, 211, 86, 289, 124, 64, 50, 241, 128, 42, 44, 72, 112, 277, 25, 283, 130, 42, 729, 52, 39, 331, 68, 88, 31 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(prime(i)^k) = prime(prime(i))^k.
a(A000040(k)) = A006450(k).
a(A006450(k)) = A038580(k).
a(A002110(k)) = A083186(k).
EXAMPLE
a(12) = 14 because 12 = 2^2*3 and prime(2)^2 + prime(3) = 3^2 + 5 = 14.
MATHEMATICA
a[n_] := Plus @@ (Prime[#[[1]]]^#[[2]] & /@ FactorInteger[n]); a[1] = 0; Table[a[n], {n, 70}]
PROG
(PARI) a(n) = my(f=factor(n)); sum(k=1, #f~, prime(f[k, 1])^f[k, 2]); \\ Michel Marcus, May 09 2018
CROSSREFS
Sequence in context: A066769 A323765 A270780 * A309135 A088607 A296243
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, May 09 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 14:13 EDT 2024. Contains 371254 sequences. (Running on oeis4.)