Today Puzzle #589
![](https://ichef.bbci.co.uk/images/ic/256xn/p057clrx.jpg)
Puzzle No. 589 – Tuesday 15 October
I use an amazing four digit PIN for everything, but I never write it down because I can always calculate it. Simply choose any four digit number to start and re-arrange the digits to create the largest and also the smallest possible numbers. Subtract the smallest from the largest to produce another four digit number and simply repeat no more than eight times until my PIN is repeated and thus revealed.
Today’s #PuzzleForToday has been set by Maths' Department at Royal Hospital School in Suffolk
Click here for the answer
The magic PIN number will always be 6174, whatever numbers you choose, and is known as Kapreka's Constant, named after the Indian mathematician, D R Kapreka, who discovered this in 1949.
When the process is followed for any four digit number, it always ends up with 6174.
If you started with 6174, 7641-1467 = 6174 which then repeats forever.
However, let's say you started with the year that the Royal Hospital School was founded - 1712
7211-1127 = 6084; 8640-0468= 8172; 8721-1278 =7443; 7443-3447= 3996; 9963-3699 = 6264; 6642-2466 = 4176; 7641-1467 = 6174
This works for every four digit number, although you must retain leading zeros as follows
2111 -1112 = 0999 (and not 999); 9990-0999 = 8991; 9981-1899 = 8082; 8820-0288 =8532; 8532-2358 = 6174
![](https://ichef.bbci.co.uk/images/ic/256xn/p055ptd0.jpg)
-
Puzzle for Today – Index
Find all of the currently available Puzzles for Today, with answers.
![](https://ichef.bbci.co.uk/images/ic/256xn/p055ptd0.jpg)
More fiendish brain-teasers and quizzes on ´óÏó´«Ã½ Radio...
-
From autumn leaves to the magic roundabout: test yourself with our favourite quizzes.
-
We asked the intelligence agency to set our listeners a code-cracking challenge... Can you solve it?
-
Quiz: How many of these Mastermind music questions can you answer?
Here's a chance to find out whether your specialist subject on Mastermind could be the entire history of music.
-
Six conundrums to grapple with, including the Riddle of the Sphinx. Try not to forfeit your life...