jack: (Default)
[personal profile] jack
Q. Show that *=N4+N2+2N is a multiple of 4.
A. It's a multiple of N so changing N by four doesn't change the expression being a multiple of four or not[1]. So we only need to check N=0,1,2 and 3. But it works for those cases or you wouldn't have asked the question. QED.

Full credit? You would, I think, normally accept four one-line substitutions as sufficient? You don't actually write out the multiplications, you just say "14+12+2.1=4", and you could do the same in modular arithmetic and all the answers would be zero. And this is just a completely trivial collapse of that.

It's even realistic -- if you're proving S(n) for all n and find that S(n)∀n<N=>S(n)∀n [2] someone's probably crunched through N on a supercomputer already[3], and it each m must be S as if m wasn't they'd have published, the pleasure of a paper titled "Hahahahah!" and reading in its entirity "~S(m)" :)

But something about the answer bothers me. I think it's that (a) it's a smartarse and (b) a good habit to be into is to at least note down each case and put a tick by it to show you've tried them all in your head and didn't forget one.

[1] Yes, I could have used modular arithmetic language, but the colloqiual language fits the point better.
[2] Googling for "html math symbols" first produces a page suggesting you use the symbol font :(
[3] OK, professional problems are complicated enough that m might be too stupidly big. Witness the colouring theorem. But it's a major major major major[4] step, and someone else will hopefully fill in the blanks, even if they turn out to be hard.
[4] C22 reference.

Date: 2006-04-26 12:29 pm (UTC)
From: [identity profile] miss-next.livejournal.com
You're right - I was trying to do the algebra very quickly because I had limited time available. :-)

Date: 2006-04-26 12:32 pm (UTC)
From: [identity profile] cartesiandaemon.livejournal.com
It happens. But see, my example that's not even a risk. Even if you write out the four special cases, it's still trivial and obvious and short imho :)

Date: 2006-04-26 12:39 pm (UTC)
ext_8103: (Default)
From: [identity profile] ewx.livejournal.com
Or observe that f(0)=0 and f(N+1)-f(N) = 4+6N+6N2+4N3 and 6N+6N2 = 3.2.N(N+1) and one of N and N+1 must be even. Induct.

Date: 2006-04-26 12:53 pm (UTC)
From: [identity profile] cartesiandaemon.livejournal.com
Induct twice to get negative numbers too (the difference is still the same), but yes. The multiplicity of easy ways of doing it was known and doesn't really affect the question I thought most amusing.

Date: 2006-04-26 01:09 pm (UTC)
ext_8103: (Default)
From: [identity profile] ewx.livejournal.com
Err, yes, I should have considered N<0. Hmm. Taking into account the fact that someone is asking a question would obviously be wrong in an exam, and in real life (or I suppose in an exam) they might be trying to trick you, like the king in the story asking his wise men why some false thing happens.

Date: 2006-04-26 01:33 pm (UTC)
From: [identity profile] cartesiandaemon.livejournal.com
Exactly. You're generally supposed to be doing it as if you didn't know the answer :)

Is that a specific story about wise men, or just a general theme?

Date: 2006-04-26 01:37 pm (UTC)
ext_8103: (Default)
From: [identity profile] ewx.livejournal.com
I think I first heard it as a specific story but I think there's more than one flavour of it and I can't remember the details.

Date: 2006-04-26 01:47 pm (UTC)