PDA

View Full Version : a problem from The Strand


murshid_islam
Oct22-06, 02:02 PM
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?

matt grime
Oct22-06, 02:12 PM
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.

murshid_islam
Oct22-06, 02:32 PM
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?

plus some other observations, like m^2+m is the product of coprime integers m and m+1.
i dont see how that helps.

arildno
Oct22-06, 02:43 PM
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..

matt grime
Oct22-06, 03:03 PM
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?

murshid_islam
Oct23-06, 07:40 AM
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.

murshid_islam
Oct23-06, 11:16 AM
can anyone please help me a little more?

matt grime
Oct23-06, 12:35 PM
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?

murshid_islam
Oct23-06, 12:50 PM
so the coprimes must be perfect squares too? is that it?

3trQN
Oct23-06, 01:01 PM
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:

CRGreathouse
Oct23-06, 01:12 PM
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.

matt grime
Oct23-06, 01:18 PM
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).

3trQN
Oct23-06, 02:31 PM
"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.

neutrino
Oct23-06, 02:37 PM
The square of "perfect numbers" (integers) ARE perfect squares.

matt grime
Oct23-06, 03:02 PM
Are all real numbers then square?

why are you introducing real numbers?

murshid_islam
Oct23-06, 03:15 PM
The square of "perfect numbers" (integers) ARE perfect squares.
but the square roots of all perfect squares are NOT perfect numbers. :)

neutrino
Oct23-06, 03:29 PM
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)

matt grime
Oct23-06, 03:31 PM
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.

3trQN
Oct23-06, 03:33 PM
why are you introducing real numbers?

Just limiting the possibility of mistakes :P

murshid_islam
Oct23-06, 03:35 PM
the square root of 4 is 2 which is not a perfect number

murshid_islam
Oct26-06, 12:35 PM
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?

murshid_islam
Oct27-06, 01:42 PM
anyone please can you help me solve the problem using continued fractions?