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”).

A323252
Numbers k such that the numerator and denominator of the reduced fraction Sum_{i=1..k} 1/i have no digits in common.
0
2, 3, 5, 6, 7, 8, 10, 15
OFFSET
1,1
COMMENTS
Other terms, if they exist, are at least 3*10^5. - Erich Friedman, Nov 20 2024
EXAMPLE
2 is in the sequence since Sum_{i=1..2} 1/i = 1 + 1/2 = 3/2 and the numerator and denominator have no digits in common.
3 is in the sequence since Sum_{i=1..3} 1/i = 1 + 1/2 + 1/3 = 11/6 and the numerator and denominator have no digits in common.
MATHEMATICA
Select[Range@100, Intersection @@ IntegerDigits[ Through[ {Numerator, Denominator}[ HarmonicNumber@ #]]] == {} &] (* Giovanni Resta, Sep 13 2019 *)
PROG
(PARI) isok(n) = my(h=sum(k=1, n, 1/k)); #setintersect(Set(digits(numerator(h))), Set(digits(denominator(h)))) == 0; \\ Michel Marcus, Sep 13 2019
CROSSREFS
Sequence in context: A120486 A229993 A376592 * A219255 A025501 A028758
KEYWORD
nonn,more,base
AUTHOR
Wesley Ivan Hurt, Sep 11 2019
STATUS
approved