login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A353692
a(n) is the least number k > n such that uh(k)/uh(n) is an integer, where uh(n) is the harmonic mean of the unitary divisors of n, or -1 if no such k exists.
2
6, 20, 45, 72, 30, 60, 42, 272, 756, 120, 66, 18, 78, 140, 1890, 720, 102, 180, 114, 24, 315, 220, 138, 360, 150, 260, 3321, 504, 174, 7560, 186, 1440, 495, 340, 210, 52416, 222, 380, 585, 1360, 246, 420, 258, 792, 1512, 460, 282, 720, 294, 600, 765, 936, 318
OFFSET
1,1
LINKS
FORMULA
a(p) = 6*p for a prime p > 3.
EXAMPLE
a(2) = 20 since 20 is the least number > 2 such that uh(20)/uh(2) = (8/3)/(4/3) = 2 is an integer.
MATHEMATICA
uh[n_] := Module[{f = FactorInteger[n]}, n*2^Length[f]/Times @@ (1 + Power @@@ f)]; a[n_] := Module[{k = n + 1, uhn = uh[n]}, While[!IntegerQ[uh[k]/uhn], k++]; k]; Array[a, 30]
CROSSREFS
Similar sequences: A069789, A069797, A069805, A353691.
Sequence in context: A006137 A225269 A048969 * A005564 A011928 A055455
KEYWORD
nonn
AUTHOR
Amiram Eldar, May 04 2022
STATUS
approved