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!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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: A274779 A120486 A229993 * A219255 A025501 A028758
KEYWORD
nonn,more,base
AUTHOR
Wesley Ivan Hurt, Sep 11 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 23 22:36 EDT 2024. Contains 371917 sequences. (Running on oeis4.)