Date: 11/06/2026 16:39:21
From: dv
ID: 2400170
Subject: re: New pedantic teaser thread.

The Rev Dodgson said:


Not ABC.

This is probably quite well known because some Indian chap came up with a neat solution in the early 20th Century, but I hadn’t heard of it:

A man lives on a street where houses are numbered sequentially from 1 to n. The sum of the house numbers to the left of his house exactly equals the sum of the house numbers to his right. If there are between 50 and 500 houses on the street, what is the man’s house number, and how many houses are there?

Interesting.

attempt one

So if there are H houses, and he lives at N, then (N-1)N/2 = (H+1)H/2 – (N+1)N/2

H2 + H = N2- N + N2 + N

H2 + H = 2N2

So … we are looking for a triangular number that is also a square number. I suppose I could think of a good way to do this but I assume there’s a simpler way.

attempt 2

Off hand, 1 and 36 are obv triangular numbers that are square. The latter corresponds to H = 8, which would mean N = 6. So we are looking for H2+H = 2N2 such that H and N are both integers.
Thinking in terms of triangles, we expect H to be about 4/3 N.

Maybe looking at some of those Ns will help

N N2
1 t1+0
6 t8+0
7 t9+4
8 t10+9
9 t12+3
10 t13+9

yeah I don’t think I’m getting anywhere

Reply Quote View full thread