The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A076558 a(n) = r * min(e_1, ..., e_r), where n = p_1^e_1 . .... p_r^e_r is the canonical prime factorization of n, a(1) = 0. 3
0, 1, 1, 2, 1, 2, 1, 3, 2, 2, 1, 2, 1, 2, 2, 4, 1, 2, 1, 2, 2, 2, 1, 2, 2, 2, 3, 2, 1, 3, 1, 5, 2, 2, 2, 4, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 3, 1, 2, 2, 6, 2, 3, 1, 2, 2, 3, 1, 4, 1, 2, 2, 2, 2, 3, 1, 2, 4, 2, 1, 3, 2, 2, 2, 2, 1, 3, 2, 2, 2, 2, 2, 2, 1, 2, 2, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
Omega(n) >= a(n) for n >= 1, where Omega(n) = the number of prime factors of n, counting multiplicity.
Positions of records are A000079. - David A. Corneth, May 05 2020
LINKS
Carlos Rivera, Puzzle #201 The Arithmetic Function A(n), The Prime Puzzles and Problems Connection.
FORMULA
a(n) = A001221(n) * A051904(n). - Antti Karttunen, Jul 12 2017
MATHEMATICA
a[n_] := Module[{pf}, pf = Transpose[FactorInteger[n]]; Length[pf[[1]]]*Min[pf[[2]]]]; Table[a[i] - Boole[i == 1], {i, 100}]
(* Second program: *)
Table[Length[#] Min[#] - Boole[n == 1] &@ FactorInteger[n][[All, -1]], {n, 100}] (* Michael De Vlieger, Jul 12 2017 *)
PROG
(Python)
from sympy import factorint
def a(n):
f=factorint(n)
l=[f[p] for p in f]
return 0 if n==1 else len(l)*min(l)
print([a(n) for n in range(1, 51)]) # Indranil Ghosh, Jul 13 2017
CROSSREFS
Sequence in context: A363369 A304465 A304687 * A328195 A235875 A328026
KEYWORD
easy,nonn
AUTHOR
Joseph L. Pe, Nov 10 2002
EXTENSIONS
a(1)=0 prepended by Antti Karttunen, Jul 12 2017
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 June 5 14:03 EDT 2024. Contains 373105 sequences. (Running on oeis4.)