Reference

93 Answers to the exercises

The answers to 92 Exercises. Each was computed by the tutorials’ scripts; the table at the end lists those the visualizer itself confirmed, each with a link that opens that state.

Level 1 · Explorer

  1. (126, 96), with u, v = 203.408°, 154.978°. Type 5G into P₁ and hover it.

  2. Yes. Same x, and 71 + 152 = 223, so 152 = p − 71.

  3. Δu = 107.260°, Δv = 63.773°. Type 1G and 2G; read Relations → Δu, Δv.

  4. The southern half. G’s y is below p/2, so G is north of the equator, and the mirror image is south.

Level 2 · Learner

  1. 55² = 3025 ≡ 126 and 116³ + 7 = 1560903 ≡ 126 (mod 223). Both sides leave remainder 126.

  2. 19, counting 𝒪. Count x by x as in chapter 22.

  3. λ = 118 (centred -105), so the sum is (15, 137), which is 3G. λ = (111 − 71)/(36 − 47) mod 223; then x₃ = λ² − 47 − 36.

  4. (30, 0), (68, 0) and (96, 0). Each has order 2: doubling it gives 𝒪.

  5. (13, 7), which is 8G. 2G − 13G = −11G = 8G, since G has order 19.

  6. 16. 5 + 16 = 21, the order of G.

  7. 6. 2⁶ = 64 ≡ 1 (mod 21).

Level 3 · Bitcoiner

  1. 03: 9G has an odd y. Type 9G and read the Inspector’s y parity.

  2. G. An x-only key means the point with even y, and G’s y is even.

  3. Yes. Their keys add up to n, and n·G = 𝒪.

  4. b′ = 1. 1² − 0³ = 1.

  5. −G. 1 + λ + λ² ≡ 0 (mod n), so λ + λ² ≡ −1.

Level 4 · Researcher

  1. Z/4 × Z/2548. G = (1, 1171) has the largest order, 2548, and 10192/2548 = 4.

  2. 96: with d = 5, the twist is y² = x³ + 50x + 84. #E + #E′ = 2p + 2 = 196 and #E = 100.

  3. One, (143, 0). For p ≡ 2 (mod 3), x³ = −7 has exactly one root.

  4. 81. Chinese remainder theorem: 81 = 6 · 13 + 3 = 4 · 19 + 5.

  5. Split (3 = 5² mod 11); 9 nonsingular affine points, so with 𝒪 a group of order 10 = p − 1. Brute force gives 10 affine points, one of them the node (1, 0).

Checked in the visualizer

Example 93.1 · The answers, checked in the visualizer

the answer to exercise 1: F₂₂₃ with P₁ = 5G = (126, 96)

Open this view: exercise 1

exercise what the visualizer confirms open
1 (126, 96), with u, v = 203.408°, 154.978°. open
2 Yes. open
3 Δu = 107.260°, Δv = 63.773°. open
5 55² = 3025 ≡ 126 and 116³ + 7 = 1560903 ≡ 126 (mod 223). open
6 19, counting 𝒪. open
7 λ = 118 (centred -105), so the sum is (15, 137), which is 3G. open
8 (30, 0), (68, 0) and (96, 0). open
9 (13, 7), which is 8G. open
10 16. open
12 03: 9G has an odd y. open
13 G. open
14 Yes. open
15 b′ = 1. open
16 −G. open
17 Z/4 × Z/2548. open
18 96: with d = 5, the twist is y² = x³ + 50x + 84. open

Do it yourself

  1. In Curve, pick the preset y² = x³ + 7 over F₂₂₃, Programming Bitcoin.
  2. Type 5G in P₁.
  3. Empty P₂.
  4. In the 3D view, click P₁ to pin its card.