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!)
A305054 If n = Product_i prime(x_i)^k_i, then a(n) = Sum_i k_i * omega(x_i), where omega = A001221 is number of distinct prime factors. 3
0, 0, 1, 0, 1, 1, 1, 0, 2, 1, 1, 1, 2, 1, 2, 0, 1, 2, 1, 1, 2, 1, 1, 1, 2, 2, 3, 1, 2, 2, 1, 0, 2, 1, 2, 2, 2, 1, 3, 1, 1, 2, 2, 1, 3, 1, 2, 1, 2, 2, 2, 2, 1, 3, 2, 1, 2, 2, 1, 2, 2, 1, 3, 0, 3, 2, 1, 1, 2, 2, 2, 2, 2, 2, 3, 1, 2, 3, 2, 1, 4, 1, 1, 2, 2, 2, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,9
LINKS
FORMULA
Totally additive with a(prime(n)) = omega(n).
a(n) = A305053(n) + A001221(n). - Michel Marcus, Jun 09 2018
MATHEMATICA
Table[If[n==1, 0, Total@Cases[FactorInteger[n], {p_, k_}:>k*PrimeNu[PrimePi[p]]]], {n, 100}]
PROG
(PARI) a(n) = {my(f=factor(n)); sum(k=1, #f~, f[k, 2]*omega(primepi(f[k, 1]))); } \\ Michel Marcus, Jun 09 2018
CROSSREFS
Sequence in context: A351089 A133831 A325613 * A238097 A066955 A089048
KEYWORD
nonn
AUTHOR
Gus Wiseman, May 24 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 April 23 01:19 EDT 2024. Contains 371906 sequences. (Running on oeis4.)