# Does this math riddle work?

**URL:** <https://boards.straightdope.com/t/does-this-math-riddle-work/1033316>\
**Category:** Miscellaneous and Personal Stuff I Must Share\
**Created:** [September 23, 2026, 5:45pm UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316 "2026-09-23T17:45:18Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lumpy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lumpy/32/446_2.png) [@Lumpy](https://boards.straightdope.com/u/Lumpy)\
**Post date:** [September 23, 2026, 5:45pm UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316/1 "2026-09-23T17:45:18Z")

</div>

My brother asked me for some help with a novel he’s writing, he wants a character in his book to solve a math riddle. I know what I want the answer to be, I just don’t know if the riddle I came up with is too abstruse and needs improvement. Here’s what I’ve got:

“Pythagoras said ‘Number rules the universe’  
So here’s a number: 1,940,449  
If you know the half of it (more or less)  
and get to the root of the matter,  
Then you may hit a triple  
and calling us will be as easy as A-B-C  
(you’ll have won at the end).”

Okay, if you have no idea wtf I’m talking about:

> **Summary**
>
> The answer is a ten-digit telephone number. The riddle is intended to decode into the Pythaorean triple 696-697-985, with 1 as the last digit of the number. By intention not a valid area code.

---

<div class="post-metadata">

**Author:** ![robby](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/robby/32/11048_2.png) [@robby](https://boards.straightdope.com/u/robby)\
**Post date:** [September 23, 2026, 6:16pm UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316/2 "2026-09-23T18:16:53Z")

</div>

I got as far as 985, and that was it. Even if I knew what a Pythagorean triple was before now (other than 3,4,5), I would not have recognized that 985 was one.

(Note that 985 is apparently the hypotenuse of at least _four_ Pythagorean triples, and the leg of four more. The one you are trying to get to is the only primitive Pythagorean triple in which the sides are consecutive integers, though. Maybe that could be another clue?)

And I thought calling ABC had something to do with dialing 222 on a standard telephone keypad.

Sorry, I would never have gotten this with only these clues.

---

<div class="post-metadata">

**Author:** ![LSLGuy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lslguy/32/5813_2.png) [@LSLGuy](https://boards.straightdope.com/u/LSLGuy)\
**Post date:** [September 23, 2026, 7:11pm UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316/3 "2026-09-23T19:11:24Z")

</div>

Unless the book is intended for math puzzlers, not one in 10K readers will solve that. Now they may well accept that some character in the book can solve it, and just take as given the phone number the character works out.

But if your author has a goal of having readers solve this themselves, ain’t gonna happen wo invoking AI. And probably not then.

---

<div class="post-metadata">

**Author:** ![robby](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/robby/32/11048_2.png) [@robby](https://boards.straightdope.com/u/robby)\
**Post date:** [September 23, 2026, 7:20pm UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316/4 "2026-09-23T19:20:10Z")

</div>

> [@Lumpy](#):
>
> So here’s a number: 1,940,449  
> If you know the half of it (more or less)…

Why not go with 1,940,450 and eliminate the “more or less” part?

---

<div class="post-metadata">

**Author:** ![Munch](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/munch/32/5281_2.png) [@Munch](https://boards.straightdope.com/u/Munch)\
**Post date:** [September 23, 2026, 7:21pm UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316/5 "2026-09-23T19:21:03Z")

</div>

I got as far as 985 as well. I sussed out that a Pythagorean triple was a thing with some googling, but have no idea how to solve for that.

---

<div class="post-metadata">

**Author:** ![markn\_1](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@markn\_1](https://boards.straightdope.com/u/markn_1)\
**Post date:** [September 23, 2026, 8:15pm UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316/6 "2026-09-23T20:15:23Z")

</div>

Is the character who solves this supposed to be a math genius or something? I think we need to know a little background on the character to tell if this is a reasonable riddle for them to solve. But I’d say that even if the character is Ramanujan, it’s pretty abstruse.

---

<div class="post-metadata">

**Author:** ![LSLGuy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lslguy/32/5813_2.png) [@LSLGuy](https://boards.straightdope.com/u/LSLGuy)\
**Post date:** [September 23, 2026, 8:28pm UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316/7 "2026-09-23T20:28:04Z")

</div>

I somehow typo’d the OP’s base number in my calculations in my earlier post. So I was dead-ended from the start, leaving me to think it was a rather harder problem than it really is.

Ahem … Upon Further Review …

But once you trivially derive 985, what next? There are lots of kinds of math triples that are not Pythagorean. I think the riddle might benefit from some manner of reference to a triangle at that point. e.g. “… root of the matter, then you could rightly triangulate. Then calling us will be …”

But even if we correctly guess that the riddle as written wants a specifically Pythagorean triple, we have this little issue:

> [@Google AI](#):
>
> > **Collapsed because AI**
> >
> > Triples where 985 is the Hypotenuse
> > 
> > When 985 is the hypotenuse it breaks down into the following leg combinations:
> > 
> > - **(140, 975, 985)**
> > - **(473, 864, 985)**
> > - **(591, 788, 985)**
> > - **(696, 697, 985)**

Under the current NANP dialing rules, any of the last 3 are valid North American phone numbers format-wise. At least they are once you tack on the trailing ~~won~~ one.

And there is no specific requirement within Pythagorean triples that the three numbers be specified in sorted order. So each one of those three NANP-compatible triples can be reordered in any one of 6 different orders. Now you have 18 possible phone numbers. And the first one, starting with 140, can also be reordered into 4 sequences that are NANP-valid. Now there are 22 _equally_ valid answers to this riddle.

Even if you assert that the third entry C must be the hypotenuse, then A & B can still appear in either order. Which leads to 7 distinct correct answers.

Bottom line: Needs work. It’s close, but not yet show-ready.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [September 23, 2026, 9:27pm UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316/8 "2026-09-23T21:27:03Z")

</div>

And even if you get the Pythagorean triple, what order are they in?

---

<div class="post-metadata">

**Author:** ![Lumpy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lumpy/32/446_2.png) [@Lumpy](https://boards.straightdope.com/u/Lumpy)\
**Post date:** [September 23, 2026, 9:32pm UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316/9 "2026-09-23T21:32:16Z")

</div>

Okay, I won’t bother with spoilers from here on out.

It’s related to a geometric proof of the Pythagorean Theorem, [one version of which is shown here.](https://universo.math.org.mx/2014-1/Del-arte-escultorico-de-Sebastian-a-las-matematicas/s23.png).

(696+697)² = 1,940,449. That can be split into 970,225 the square root of which is 985, and 970,224 which is 2×696×697. The difference by 1 is pivotal, but I couldn’t think of a way to get across how.

---

<div class="post-metadata">

**Author:** ![Exapno\_Mapcase](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/exapno_mapcase/32/1051_2.png) [@Exapno\_Mapcase](https://boards.straightdope.com/u/Exapno_Mapcase)\
**Post date:** [September 23, 2026, 11:07pm UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316/10 "2026-09-23T23:07:20Z")

</div>

It’s interesting that A2 + B2 = C2 -1. Does that relate to A2 + B2 = C2 or A2 + B2 = C2 +1? Can there be consecutive integers with all three?

---

<div class="post-metadata">

**Author:** ![markn\_1](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@markn\_1](https://boards.straightdope.com/u/markn_1)\
**Post date:** [September 23, 2026, 11:37pm UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316/11 "2026-09-23T23:37:04Z")

</div>

The only Pythagorean triple consisting of 3 consecutive integers is (3,4,5).

The proof is pretty simple. Let n be the middle number, so  
(n-1)^2 + n^2 = (n+1)^2.  
Then  
(n^2-2n+1)+n^2 = n^2+2n+1  
Simplify:  
n^2-4n = 0  
n(n-4) = 0

So the only two solutions are either n=0 or n=4.  
The first case yields the triple (-1,0,1) which isn’t Pythagorean because of the negative number, and the second case yields (3,4,5).

---

<div class="post-metadata">

**Author:** ![markn\_1](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@markn\_1](https://boards.straightdope.com/u/markn_1)\
**Post date:** [September 23, 2026, 11:50pm UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316/12 "2026-09-23T23:50:40Z")

</div>

A similar argument shows that for consecutive values A,B,C, if A^2+B^2 = C^2+1, the only solution is B = 2+\sqrt{5} and if A^2+B^2 = C^2-1, the only solution is B = 2+\sqrt{3}, so there are no such integer triples.

---

<div class="post-metadata">

**Author:** ![Hari\_Seldon](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hari_seldon/32/5173_2.png) [@Hari\_Seldon](https://boards.straightdope.com/u/Hari_Seldon)\
**Post date:** [September 24, 2026, 1:52am UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316/13 "2026-09-24T01:52:49Z")

</div>

Here is the rule for generating primitive PTs (no common divisors). Take 2 numbers m and n, no common divisors and one even (and the other odd). Assume m \> n. Then 2mn, m^2-n^2, m^2+n^2 is a primitive PT and that is the only way they can be generated.

So if you want 985 to be the hypotenuse of a PT, it has to be the sum of two squares. 985 = 5 x 197. 5 = 1^2+2^2 and 197=14^2+1^2 and a simple formula implies that

985=(2 x 14 + 1 x 1)\*2 + (2 x 1- 14 x1)^2 = 29^2 + !2^2.

So take m = 29 and n=12. Then m^-n^2=697 and 2mn = 696, so the PT is 696, 797, 985.

Another solution using a different way of multiplying sums of two squares is 473, 864, 985. It is also possible to make 985 the difference of two squares and find solutions in which 985 is a leg.

---

<div class="post-metadata">

**Author:** ![Hari\_Seldon](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hari_seldon/32/5173_2.png) [@Hari\_Seldon](https://boards.straightdope.com/u/Hari_Seldon)\
**Post date:** [September 24, 2026, 9:24pm UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316/14 "2026-09-24T21:24:03Z")

</div>

> [@Hari\_Seldon](#):
>
> So take m = 29 and n=12. Then m^-n^2=697 and 2mn = 696, so the PT is 696, 797, 985.

It should be 696,697,805.

---

<div class="post-metadata">

**Author:** ![Lumpy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lumpy/32/446_2.png) [@Lumpy](https://boards.straightdope.com/u/Lumpy)\
**Post date:** [September 24, 2026, 9:30pm UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316/15 "2026-09-24T21:30:41Z")

</div>

> [@Hari\_Seldon](#):
>
> It should be 696,697,805.

What do you mean? 696² + 697² = 985². I checked the math.

---

<div class="post-metadata">

**Author:** ![Hari\_Seldon](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hari_seldon/32/5173_2.png) [@Hari\_Seldon](https://boards.straightdope.com/u/Hari_Seldon)\
**Post date:** [September 24, 2026, 9:34pm UTC](https://boards.straightdope.com/t/does-this-math-riddle-work/1033316/16 "2026-09-24T21:34:57Z")

</div>

Right.
