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!)
A126563 Numbers k such that the ratio of A117731(k) and A082687(k) is composite. 0
119, 735, 5145, 36015 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(1) = 7*17, a(2) = 3*5*7^2, a(3) = 3*5*7^3.
Corresponding composite terms in A125741 are {119, 49, 49, ...}.
A125741(n) is composite for n = {7, 16, 36, ...}.
LINKS
Eric Weisstein's World of Mathematics, Harmonic Number.
Eric Weisstein's World of Mathematics, Hilbert Matrix.
MATHEMATICA
h=0; Do[ h=h+1/(n+1)/(2n+1); f=Numerator[n*h]; g=Numerator[h]; If[ !Equal[f, g] && !PrimeQ[f/g], Print[ {n, f/g, FactorInteger[n], FactorInteger[f/g]} ] ], {n, 1, 10000} ]
PROG
(PARI) f(n) = sum(k=1, n, 1/(n+k));
isok(k) = my(fk = f(k), q = numerator(k*fk)/ numerator(fk)); (q!=1) && !isprime(q); \\ Michel Marcus, Mar 08 2023
CROSSREFS
Sequence in context: A351906 A367723 A373541 * A362320 A355377 A067134
KEYWORD
bref,hard,more,nonn
AUTHOR
Alexander Adamchuk, Mar 12 2007, Jun 09 2007
EXTENSIONS
Edited by Max Alekseyev, Jul 12 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 July 15 16:08 EDT 2024. Contains 374333 sequences. (Running on oeis4.)