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!)
A361384 a(n) is the number of distinct prime factors of the n-th unitary harmonic number. 2
0, 2, 2, 3, 3, 4, 4, 3, 4, 5, 4, 5, 4, 3, 4, 5, 4, 5, 4, 4, 3, 5, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 4, 5, 5, 5, 5, 4, 4, 4, 5, 6, 5, 6, 5, 5, 6, 6, 5, 5, 6, 6, 5, 5, 6, 6, 6, 6, 5, 6, 5, 6, 6, 6, 5, 6, 5, 6, 5, 6, 5, 6, 4, 5, 6, 6, 6, 6, 5, 6, 5, 6, 6, 6, 6, 5, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Each term appears a finite number of times in the sequence (Hagis and Lord, 1975).
LINKS
Peter Hagis, Jr. and Graham Lord, Unitary harmonic numbers, Proc. Amer. Math. Soc., Vol. 51, No. 1 (1975), pp. 1-7.
FORMULA
a(n) = A001221(A006086(n)).
MATHEMATICA
uh[n_] := n * Times @@ (2/(1 + Power @@@ FactorInteger[n])); uh[1] = 1; PrimeNu[Select[Range[10^6], IntegerQ[uh[#]] &]]
PROG
(PARI) uhmean(n) = {my(f = factor(n)); n*prod(i=1, #f~, 2/(1+f[i, 1]^f[i, 2])); };
lista(kmax) = {my(uh); for(k = 1, kmax, uh = uhmean(k); if(denominator(uh) == 1, print1(omega(k), ", "))); }
CROSSREFS
Sequence in context: A340321 A340320 A059998 * A339731 A234475 A339082
KEYWORD
nonn
AUTHOR
Amiram Eldar, Mar 10 2023
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 May 10 11:28 EDT 2024. Contains 372387 sequences. (Running on oeis4.)