Skip to content
Why is a raven like a writing desk?

Thoughts both confusing and enlightening.

Why is a raven like a writing desk?

Thoughts both confusing and enlightening.

A maths diversion

elbeno, 9 December, 2010

One of my colleagues came into my office the other day, and said to me:

If p is prime and greater than 3, prove that p² – 1 is divisible by 24.

Interested readers might want to try this for themselves: it’s not particularly difficult. Of course I started in right away.

Immediately I thought: well, divisibility by 24 means divisibility by 2, by 3 and by 4. Let’s see what we can say about this considering p is odd. i.e. p = 2n + 1. So p² – 1 = (2n + 1)(2n + 1) – 1 = 4n² + 4n. Clearly divisible by 4.

Then I thought: aha. p² – 1 = (p + 1)(p – 1). One of (p + 1), p, (p – 1) is clearly divisible by 3, since these are 3 consecutive numbers. Since p is prime, either (p + 1) or (p – 1) is divisible by 3. Since p is odd, (p + 1) and (p – 1) are both even. And furthermore, since they are consecutive even numbers, one of them must be divisible by 4.

QED.

Uncategorized

Post navigation

Previous post
Next post

Related Posts

29 March, 2005

TRN Magazine reports that researchers from MIT have developed a tool (“Metafor”) for turning English into code. I am immediately reminded of the aphorism, “Make it possible for programmers to write in English and you will find the programmers cannot write in English.”

Read More

My first crossword

27 August, 2005

Beginnings by Elbeno 1A. Short dance mix anticipated (2,3,5) 6A. Point: many a sailor breaks a strike (4) 9A. Girl cooling the French fiasco (7) 10A. This French herb has a tail (7) 12A. Chief follows a parasite found at a dinner party (8,5) 14A. Precisely implement: takes time (4,2)…

Read More

Wish-it-was two-factor authentication

9 March, 2008

In order to print out a tax form, I’ve just had to go through some silly security question rigmarole with my online bank. The wish-it-was two-factor authentication is getting quite out of hand these days. They are really desperate to give the appearance of security. In addition to displaying a…

Read More

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

©2026 Why is a raven like a writing desk? | WordPress Theme by SuperbThemes