Wiki
Wiki

Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.

Updated

Pihko 2001 remarks greedy odd egyptian fraction algorithm

../

open_problem_1_1: Asks whether the greedy odd Egyptian fraction algorithm always stops after finitely many steps for a reduced fraction with odd denominator.

remark_2_4: In the greedy odd algorithm for a reduced fraction a/b with b odd, the second denominator equals the first only as x_1 = x_2 = 3, which happens exactly when a/b is at least 2/3.

theorem_2_3: For every s there are infinitely many reduced fractions with odd denominator for which the greedy odd algorithm stops after exactly s steps.

theorem_3_5: For a > 1 and k = -(a+1) + j a(a+1), the greedy odd algorithm for every a/(2k+1), j = 1, 2, ..., starts with two bad steps raising the numerator by one each time if and only if a = 2^r - 2 with r at least 2.

theorem_3_6: For odd a > 1 and an explicit arithmetic progression of k, the greedy odd algorithm for a/(2k+1) has numerator sequence a, a+1, 1, so it stops after three steps.

theorem_3_7: For every a > 1 and k = -(a+1)^2 + h a(a+1)(a+2), the greedy odd algorithm for a/(2k+1) starts with two bad steps raising the numerator by one each time, and with three such steps when a = 2^r - 3 with r at least 3.

theorem_3_8: For k = 180g - 51 with g = 1, 2, ..., the greedy odd algorithm for 2/(2k+1) starts with four bad steps, its numerators running 2, 3, 4, 5, 6.


Jukka Pihko, Remarks on the "greedy odd" Egyptian fraction algorithm, Fibonacci Quart. 39 (2001), no. 3, 221--227; DOI 10.1080/00150517.2001.12428725 (Crossref record fetched). Submitted March 1999, final revision August 1999.

The copy read for this card is a scan of the seven printed pages (physical PDF p. nn is printed p. 220+n220+n) with an OCR text layer that garbles the displayed formulas; the statements below were read on the page images of pp. 221--227. Provenance: obtained from the repository's survey download set of September 2026 (file dated 2026-09-05), identified by its DOI; the download URL was not recorded; 2,199,253 bytes. No copyright line is printed on the scanned pages (pp. 221 and 227 read); the journal's issue page that lists the article shows the footer "Copyright © 2010 The Fibonacci Association. All rights reserved." (https://www.fq.math.ca/39-3.html), and the publisher's host returned HTTP 403 on 2026-10-02, every other right reserved.

Read status: claims checked. Open Problem 1.1, the definition of the algorithm, Remarks 2.2, 2.4 and 2.5, Theorem 2.3, Theorems 3.5 to 3.8 and Examples 3.9 were read clause by clause on the page images; the proofs of Theorems 2.3 and 3.5 to 3.7 were read for structure and not checked; Theorem 3.8 has no printed proof.

Contents

  • Setup (p. 221): a<ba<b positive integers with (a,b)=1(a,b)=1; Fibonacci's greedy algorithm takes the greatest Egyptian fraction 1/x1≤a/b1/x_1\le a/b, forms a/b−1/x1=a1/b1a/b-1/x_1=a_1/b_1 and continues; the numerators decrease, so it stops after at most aa steps. For bb odd the greedy odd algorithm takes the greatest 1/x11/x_1 with x1x_1 odd and 1/x1≤a/b1/x_1\le a/b and continues in the same way.
  • Open Problem 1.1 (p. 221), quoted: "Does the greedy odd algorithm (for bb odd) always stop after finitely many steps?" Cited to Guy's problem book (2nd ed., 1994), Guy's Monthly article of 1998 and Klee--Wagon's problem book (1991), the paper's [3], [4] and [5]. Result page: open_problem_1_1.
  • Section 2 (pp. 221--223): with b=2k+1b=2k+1 and x1=2n1+1x_1=2n_1+1, the first step is case A (a/(2k+1)∈[1/(2n1+1),1/(2n1))a/(2k+1)\in[1/(2n_1+1),1/(2n_1)), the numerator decreases as in the ordinary greedy algorithm) or case B (a/(2k+1)∈[1/(2n1),1/(2n1−1))a/(2k+1)\in[1/(2n_1),1/(2n_1-1)), where a<a1′<2aa<a_1'<2a); after cancellation the numerator decreases (case B1) or increases (case B2, the "bad" case). The algorithm stops at step ss exactly when as=0a_s=0, equivalently as−1=1a_{s-1}=1, and consecutive numerators have opposite parity (display (2.4)). Example 2.1: 5/1395/139 stops after 1919 steps, with numerators 5,6,…,17,26,51,2,3,4,15,6,\dots,17,26,51,2,3,4,1. Remark 2.2: whether 11 occurs in the numerator sequence is equivalent to Open Problem 1.1, which the paper compares to the 3x+13x+1 problem. h(a/b)h(a/b) denotes the number of steps (∞\infty if the algorithm does not stop), and h(a/b)≡a(mod2)h(a/b)\equiv a\pmod 2 when it is finite (display (2.5)).
  • Theorem 2.3 (p. 223): for every s∈Ns\in\mathbb N there are infinitely many fractions a/ba/b with bb odd, a<ba<b and (a,b)=1(a,b)=1 such that h(a/b)=sh(a/b)=s. Result page: theorem_2_3.
  • Remark 2.4 (p. 223): the only possibility for x2=x1x_2=x_1 is x1=x2=3x_1=x_2=3, which occurs exactly when 2/3≤a/b2/3\le a/b; for example the algorithm gives 2/3=1/3+1/32/3=1/3+1/3 and 4/5=1/3+1/3+1/9+1/454/5=1/3+1/3+1/9+1/45. Result page: remark_2_4. Remark 2.5: if bb is even the algorithm never stops; for 1/21/2 it produces 1/3+1/7+1/43+⋯1/3+1/7+1/43+\cdots with x1=3x_1=3 and xi+1=xi2−xi+1x_{i+1}=x_i^2-x_i+1.
  • Section 3 (pp. 223--227), the paper's main part: initial numerator sequences in case B. Theorem 3.1 (pp. 223--224) prescribes the unreduced numerator a1′=ca_1'=c for given a<c<2aa<c<2a under congruence and coprimality conditions on kk; Corollary 3.3 (p. 224) takes c=a+1c=a+1 and k≡−1(moda)k\equiv-1\pmod a. Lemma 3.4 and display (3.6) (p. 225) reduce two increasing steps to a coprimality condition in aa and jj.
  • Theorem 3.5 (p. 225): for a>1a>1 and k=−(a+1)+ja(a+1)k=-(a+1)+ja(a+1), the numerators start a,a+1,a+2a,a+1,a+2 for every jj if and only if a=2r−2a=2^r-2, r≥2r\ge2. Result page: theorem_3_5.
  • Theorem 3.6 (p. 225): for odd a>1a>1 and kk as in display (3.7), the numerator sequence is a,a+1,1a,a+1,1. Result page: theorem_3_6.
  • Theorem 3.7 (p. 226), which the paper calls its main achievement: for every a>1a>1 and k=−(a+1)2+ha(a+1)(a+2)k=-(a+1)^2+ha(a+1)(a+2), the numerators start a,a+1,a+2a,a+1,a+2, and a,a+1,a+2,a+3a,a+1,a+2,a+3 when a=2r−3a=2^r-3, r≥3r\ge3. Result page: theorem_3_7.
  • Theorem 3.8 (p. 226): for k=180g−51k=180g-51 the numerators of 2/(2k+1)2/(2k+1) start 2,3,4,5,62,3,4,5,6; no proof is printed. Examples 3.9 (pp. 226--227) list the full sequences for g≤10g\le10 and for g=19g=19, where 2/67392/6739 runs 2,3,…,18,12,3,\dots,18,1. Result page: theorem_3_8.

Compiled scope

The statements above were checked on the page images named; the proofs of Theorems 2.3 and 3.5 to 3.7 were read for structure and not verified, and Theorem 3.8 has no printed proof. Theorem 3.1, Corollary 3.3 and Lemma 3.4 have no result pages; they are recorded above as steps toward Theorems 3.5 to 3.8. Nothing here is independently reviewed.

Bears on. #282: Open Problem 1.1 is the problem's odd-denominator question in the paper's convention, the greatest odd unit fraction not exceeding the remainder, stated as open in 2001. Remark 2.4 shows that this convention repeats the second denominator only as x2=x1=3x_2=x_1=3, exactly when a/b≥2/3a/b\ge2/3; that later denominators increase strictly is a deduction recorded on its result page, not in the paper. Theorem 2.3 shows that every finite number of steps occurs infinitely often, and Theorem 3.6 gives, for each odd a>1a>1, infinitely many fractions on which the algorithm stops after three steps. Theorems 3.5, 3.7 and 3.8 give families on which the numerator rises in the first two to four steps. None of these results decides termination in general.

No file of this source is held: no license on record permits its redistribution, and the card cites the edition it names above.