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!)
A308967 Number of prime factors (with multiplicity) of the numerator A001008 of the harmonic number H(n) = Sum_{k=1..n} 1/k. 7
0, 1, 1, 2, 1, 2, 3, 1, 1, 3, 2, 3, 3, 2, 2, 3, 2, 3, 2, 2, 1, 5, 2, 3, 2, 1, 3, 3, 3, 5, 2, 3, 2, 2, 2, 5, 2, 4, 2, 4, 1, 4, 3, 4, 3, 4, 4, 3, 2, 3, 3, 5, 2, 3, 2, 1, 3, 5, 2, 4, 2, 1, 4, 4, 4, 6, 4, 2, 1, 4, 4, 4, 3, 3, 4, 4, 5, 4, 1, 4, 3, 3, 4, 4, 3, 3, 4, 5, 1, 2, 1, 3, 2, 2, 3, 3, 3, 3, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = A001222(A001008(n)).
EXAMPLE
H(1) = 1 = 1/1, the numerator is the empty product, whence a(1) = 0.
H(2) = 1 + 1/2 = 3/2 and H(3) = 3/2 + 1/3 = 11/6, 3 and 11 are prime numbers, whence a(2) = a(3) = 1.
H(4) = 11/6 + 1/4 = 25/12, 25 = 5^2, whence a(4) = 2.
MATHEMATICA
Table[PrimeOmega @ Numerator[HarmonicNumber[n]], {n, 30}] (* Amiram Eldar, Feb 24 2020 *)
PROG
(PARI) a(n)=bigomega(A001008(n))
CROSSREFS
Sequence in context: A362890 A306251 A364027 * A241844 A233864 A133232
KEYWORD
nonn
AUTHOR
M. F. Hasler, Jul 03 2019
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 25 06:14 EDT 2024. Contains 371964 sequences. (Running on oeis4.)