Can You Solve the Mystery of the Numbered Street in Louvain?

  • Thread starter Thread starter murshid_islam
  • Start date Start date
AI Thread Summary
The discussion revolves around a mathematical problem related to a numbered street in Louvain, where the sum of house numbers on one side equals the sum on the other side. Participants explore various approaches to solve for the house number, including algebraic equations and the use of continued fractions, as suggested by Ramanujan. The conversation also touches on the distinction between perfect squares and squares, with some confusion over terminology. Ultimately, the participants express a desire for clarity on how to apply continued fractions to solve the problem. The thread highlights both the complexity of the mathematical challenge and the collaborative effort to understand it.
murshid_islam
Messages
468
Reaction score
21
I was reading Ramanujan’s biography (by Kanigel) and there was a mathematical problem in that book which was published in the Strand magazine during the First World War. This is the problem:

"I was talking the other day," said William Rogers to the other villagers gathered around the inn fire, "to a gentleman about the place called Louvain, what the Germans have burnt down. He said he knowed it well – used to visit a Belgian friend there. He said the house of his friend was in a long street, numbered on this side one, two, three, and so on, and that all the numbers on one side of him added up exactly the same as all the numbers on the other side of him. Funny thing that! He said he knew there was more than fifty houses on that side of the street, but not so many as five hundred. I made mention of the matter to our parson, and he took a pencil and worked out the number of the house where the Belgian lived I don’t know how he done it."
Perhaps the reader may like to discover the number of that house.

Here is what I tried:
Let n = the number of the house that the Belgian lived in
m = the total number of houses in that street
and 50<m<500

now
1+2+ \cdots +(n-1) = (n+1)+(n+2)+ \cdots +m

\frac{n(n-1)}{2} = \frac{(n+1+m)(m-n)}{2}

n(n-1) = (n+1+m)(m-n)

2n^2 = m^2 + m

now how do i sove for n and m?
 
Last edited:
Mathematics news on Phys.org
By using the restrictions placed on how many houses there are. It is just trial and error from there, plus some other observations, like m^2+m is the product of coprime integers m and m+1.
 
Last edited:
matt grime said:
By using the restrictions placed on how many houses there are. It is just trial and error from there
but Ramanujan supposedly solved it using continued fractions. but how?

matt grime said:
plus some other observations, like m^2+m is the product of coprime integers m and m+1.
i don't see how that helps.
 
Ramanujan solved every problem he met with continued fractions. Perhaps that's why we don't understand any longer how he got his results.

Sorry, just kidding, I'm out of here..
 
So, if I tell you that ab is a perfect square and that a and b are coprime, you can't deduce anything at all about a and b?
 
matt grime said:
So, if I tell you that ab is a perfect square and that a and b are coprime, you can't deduce anything at all about a and b?
sorry, maybe it is incredibly stupid of me, but i can't see what you are suggesting.
 
can anyone please help me a little more?
 
Didn't we have long thread on getting you to prove that if p is a prime and p divides a^2 then p divides a? Doesn't this spark something. Just think of a composite squared, like 6^2=36. Now, how can you write 36 as a product of comprime numbers? Notice anything about them?
 
so the coprimes must be perfect squares too? is that it?
 
  • #10
matt grime said:
So, if I tell you that ab is a perfect square and that a and b are coprime, you can't deduce anything at all about a and b?

What is the difference between a perfect square and a square? (if any)

Its ambiguous to me. :frown:
 
  • #11
3trQN said:
What is the difference between a perfect square and a square? (if any)

Its ambiguous to me. :frown:

"Perfect square" = "square of an integer"

s^2, where s=\sqrt2, is a square but not a perfect square.
 
  • #12
murshid_islam said:
so the coprimes must be perfect squares too? is that it?

Yes.

Now, you have 2n^2 = m(m+1).

Either m is even and m/2 and m+1 are prefect squares, or m is odd and m and (m+1)/2 are prefect squares. There aren't many perfect squares in the region of 50 to 500 to check, are there? (Yes, 'perfect square' means 'square of an integer', it is perhaps a silly distinction).
 
  • #13
CRGreathouse said:
"Perfect square" = "square of an integer"

s^2, where s=\sqrt2, is a square but not a perfect square.

Are all real numbers then square?

To me, square number = perfect square number.
It seems pointless to give all real numbers the distinction square. I think square should mean all real numbers with integer roots and perfect squares should be conserved for the set of perfect numbers, squared.

That is:
Perfect Numbers = {6,28,496,...}
Perfect square: {36,784,...}

imo.
 
  • #14
The square of "perfect numbers" (integers) ARE perfect squares.
 
  • #15
3trQN said:
Are all real numbers then square?

why are you introducing real numbers?
 
  • #16
neutrino said:
The square of "perfect numbers" (integers) ARE perfect squares.
but the square roots of all perfect squares are NOT perfect numbers. :)
 
  • #17
murshid_islam said:
but the square roots of all perfect squares are NOT perfect numbers. :)
Example, please.

(I thinlk this silly argument is irrelevant to your original post)
 
  • #18
Ok, Murshid, you're free to tihnk that. No one else does, and it is common to conventional to mean something else. So you'd be pig-headed to carry on in that vein.
 
  • #19
matt grime said:
why are you introducing real numbers?

Just limiting the possibility of mistakes :P
 
  • #20
the square root of 4 is 2 which is not a perfect number
 
  • #21
matt grime said:
Either m is even and m/2 and m+1 are prefect squares, or m is odd and m and (m+1)/2 are prefect squares. There aren't many perfect squares in the region of 50 to 500 to check, are there? (Yes, 'perfect square' means 'square of an integer', it is perhaps a silly distinction).
thanks a lot for your help matt grime. i have got the answer now. but i was just wondering how the problem can be solved using continued fractions. can anybody help me?
 
  • #22
anyone please can you help me solve the problem using continued fractions?
 
Back
Top