cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A125581 Numbers n such that n does not divide the denominator of the n-th harmonic number nor the denominator of the n-th alternating harmonic number.

This page as a plain text file.
%I A125581 #20 Feb 16 2025 08:33:04
%S A125581 77,847,9317,102487,596778,1127357,1193556,6161805,12323610,12400927
%N A125581 Numbers n such that n does not divide the denominator of the n-th harmonic number nor the denominator of the n-th alternating harmonic number.
%C A125581 Note that a(1) = 7*11, a(2) = 7*11^2, and a(3) = 7*11^3.
%C A125581 Harmonic numbers are defined as H(n) = Sum_{k=1..n} 1/k = A001008(n)/A002805(n).
%C A125581 Alternating harmonic numbers are defined as H'(n) = Sum_{k=1..n} (-1)^(k+1)*1/k = A058313(n)/A058312(n).
%C A125581 Numbers n such that n does not divide the denominator of the n-th harmonic number are listed in A074791. Numbers n such that n does not divide the denominator of the n-th alternating harmonic number are listed in A121594.
%C A125581 This sequence is the intersection of A074791 and A121594.
%C A125581 Comments from _Max Alekseyev_, Mar 07 2007: (Start)
%C A125581 While A125581 indeed contains the geometric progression 7*11^n as a subsequence, it also contains other geometric progressions such as: 546*1093^n, 1092*1093^n, 1755*3511^n, 3510*3511^n and 4896*5557^n (see A126196 and A126197). It may also contain some "isolated" terms (i.e. not participating in the geometric progressions) but such terms are harder to find and at the moment I have no proof that they exist.
%C A125581 This is a sketch of my proof that geometric progression 7*11^n and the others mentioned above belong to A125581.
%C A125581 Lemma 1. H'(n) = H(n) - H([n/2]).
%C A125581 Lemma 2. For prime p and integer n >= p, valuation(H(n),p) >= valuation(H([n/p]),p) - 1.
%C A125581 Theorem. For an integer b > 1 and a prime number p such that p divides the numerators of both H(b) and H([b/2]), the geometric progression b*p^n belongs to A125581.
%C A125581 Proof. It is enough to show that valuation(H(b*p^n),p) > -n and valuation(H'(b*p^n), p) > -n. By Lemma 2 we have valuation(H(b*p^n), p) >= valuation(H(b), p) - n >= 1 - n > -n.
%C A125581 From this inequality and Lemma 1, we have valuation(H'(b*p^n), p) >= min{ valuation(H(b*p^n), p), valuation(H([b*p^n/2]), p) } >= min{ 1 - n, valuation(H([b*p^n/2]), p) }. It remains to show that valuation(H([b*p^n/2]), p) >= 1 - n.
%C A125581 Again by Lemma 2, we have valuation(H([b*p^n/2]), p) >= valuation(H([b/2]), p) - n >= 1 - n, which completes the proof.
%C A125581 It is easy to check that this Theorem holds for the aforementioned geometric progressions. (End)
%H A125581 Tanya Khovanova, <a href="http://www.tanyakhovanova.com/RecursiveSequences/NonRecursions.html">Non Recursions</a>.
%H A125581 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/HarmonicNumber.html">Harmonic Number</a>.
%t A125581 f=0; g=0; Do[g=g+1/n; f=f+(-1)^(n+1)/n; If[ !IntegerQ[Denominator[g]/n]&&!IntegerQ[Denominator[f]/n], Print[n]], {n, 1, 10000}]
%Y A125581 Cf. A001008, A002805, A003599, A058312, A058313, A074791, A119955, A121594.
%K A125581 hard,more,nonn
%O A125581 1,1
%A A125581 _Alexander Adamchuk_, Jan 03 2007
%E A125581 More terms from _Max Alekseyev_, Mar 11 2007
%E A125581 a(8)-a(10) from _Max Alekseyev_, Mar 19 2007