Saturday, 30 December 2023
Sudoku no 722 (Easy)
If you would like me to dedicate a sudoku puzzle to a friend of yours, please add a comment below e.g.
John Smith would like to see a diabolical sudoku puzzle.
You will need a Google account to do this.
Thursday, 28 December 2023
Solution to Maths Problem no 2
Here is one way to work it out, which will only make sense if you can program in C:
andrew@ASUS-Laptop:~/Maths_Problems$ cat multiply.c
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
void para_a (void);
void para_b (void);
void para_c (void);
void para_d (void);
/* Global variables. */
int a;
int b;
int c;
int d;
int main ()
{
para_a();
}
void para_a ()
{
for (a = 1; a <= 9; a++) para_b();
}
void para_b ()
{
for (b = 0; b <= 9; b++) para_c();
}
void para_c ()
{
for (c = 0; c <= 9; c++) para_d();
}
void para_d ()
{
for (d = 0; d <= 9; d++)
{
if ((a!=b) && (a!=c) && (a!=d) && (b!=c) && (b!=d) && (c!=d))
{
if (9*(1000*a+100*b+10*c+d) == 1000*d+100*c+10*b+a)
printf("%d %d %d %d\n", a, b, c, d);
}
}
}
andrew@ASUS-Laptop:~/Maths_Problems$ cc -o multiply multiply.c
andrew@ASUS-Laptop:~/Maths_Problems$ ./multiply
1 0 8 9
andrew@ASUS-Laptop:~/Maths_Problems$
Maths Problem no 2
Find a four digit number which you can multiply by 9 to give the same four digits in reverse order. All four digits must be different and the first digit of the original number must not be zero:
Tuesday, 26 December 2023
Saturday, 23 December 2023
Maths Problem no 1
Puzzles
like this appeared in Computer Weekly in the '80s and '90s. As they
were in a computing magazine I often wrote a BASIC program to solve
them. However, my son worked this one out using pencil and paper in
around 15 minutes. I created it using Oracle Database Version 18 Express
Edition.
Replace the letters in the addition sum below so that
the answer is correct. Use each of the numbers 1 to 9 exactly once and
assume that O=1, R=5 and E=2:
Friday, 15 December 2023
Chess Puzzle no 22
The position below is from Anna Muzychuk versus Zhongyi Tan, FIDE Women's World Cup, 2023, Baku, Azerbaijan. It is white's turn to play. Try to work out how the game continued:
Sunday, 3 December 2023
Tuesday, 28 November 2023
Chess Solution no 21
The game continued as follows:
1 … Rg1+
2 Bd1 Rxc2+
3 Kb1 Rxd1+
4 Nxd1 Rc5+
5 Ka1 Rc1#
Here is a slightly different solution:
1 … Rxc2+
2 Kb1 Rg1+
3 Bd1 Rxd1+
4 Nxd1 Rc5+
5 Ka1 Rc1#
Chess Puzzle no 21
This position is from Tore Colas versus James C Mansson, Hastings 2005. Black to play and checkmate in five moves. There are two possible solutions:
See answer
Monday, 20 November 2023
Saturday, 18 November 2023
Chess Solution no 20
winning the exchange.
Note that if:
4. Nxa5
then:
4. ... Kb6
or:
4. ... Rb5
and white's knight is lost.
Chess Puzzle no 20
The position below is from Walter Burnett versus Mark Broom, Glasgow, 2003. It is black's move. What should he play?
See answer
Thursday, 16 November 2023
Sudoku no 718 (Easy)
Our younger son created this puzzle using a Javascript program which he wrote himself:
Saturday, 11 November 2023
Chess Solution no 19
1. Bb6!
Black then resigned.
If he had not, the game might have continued as follows:
or:
or:
Friday, 10 November 2023
Chess Puzzle no 19
The position below is from Feliks J Kwiatkowski (a member of Haywards Heath chess club) versus Jerry Humphreys, Birmingham, 2005. It is white's turn to play. What is his best move?
See answer
Tuesday, 7 November 2023
Chess Solution no 18
Chess Puzzle no 18
This position is from Pierre Fox versus James C Mansson, Hastings, 2006. Black to play and checkmate in 4 moves:
Thursday, 2 November 2023
Chess Puzzle no 17
This position is from Ilya Smirin versus Tal Baron, Acre, 2013. It is white to play. What should he do?
See answer
Monday, 30 October 2023
Tuesday, 24 October 2023
Chess Puzzle no 16
This position is from jaeger1 versus seanhoran. It was played on Gameknot in 2019. White to play and checkmate in 3 moves:
Monday, 23 October 2023
Sudoku no 715 (Diabolical)
Our younger son created this sudoku using a Javascript program which he wrote himself:
Friday, 20 October 2023
Chess Solution no 15
The game continued as follows:
At this point, Tal resigned.
Notice that if:
Chess Puzzle no 15
The position below is from Oleg M Romanishin versus Mikhail Tal, Barcelona, 1992. It is white to play. Try to work out how the game continued:
Wednesday, 18 October 2023
Friday, 13 October 2023
Chess Solution no 14
Chess Puzzle no 14
This position is from a game apparently played by Capablanca. According to the web site where I found it, the other player was born 50 years after Capablanca died so I will not be giving his name as it is clearly incorrect. Black to play and checkmate in 5 moves:
See answer
Friday, 29 September 2023
Sudoku no 713 (Easy)
Sunday, 24 September 2023
Sudoku no 712 (Diabolical)
Our younger son created this puzzle using a Javascript program which he wrote himself:
Monday, 21 August 2023
Tuesday, 8 August 2023
Monday, 7 August 2023
Chess Solution no 13
The game continued as follows:
White resigned at this point. There are alternative scenarios but they all involve the loss of the white queen in exchange for the black rook e.g:
Chess Puzzle no 13
You may remember Sarasadat Khademalsharieh (AKA Sara Khadem) as the Iranian chess player who removed her hijab while competing in a tournament in Kazakhstan. Realising that she would be arrested if she returned to Iran, she defected to Spain instead and now has Spanish nationality.
The position below is from the game she played in that tournament against Nafisa Muminova. Sarasadat has the black pieces and it is her turn to move. How did she bring the game to a successful conclusion?
See answer