Generally I think it means a small part of a program. It means a bit more in M. Did you mean Modular Programming?

]]>A few months ago I was checking out the Puzzle Games at MathsIsFun and stumbled upon this Orientation Puzzle. At first I didn't quite get it, but after about one or two minutes I understood it all. So, after playing some levels I've had the idea of implementing an algorithm that could solve any level. So I did it (that was actually quite a while back) and decided to share it with ya: Here's the source code and the level files (C++).

It's a command line program. compile it and put the "Levels" folder in the same directory as the executable. Open a command prompt window on that directory. Every time you want the program to solve a level, just type the name of the executable on the prompt, press enter and type the name of a level file contained in the "Levels" folder, for example: Levels/1.txt. The program will then display all the steps needed to get into the exit.

EDIT: I don't seem to be able to post the download link to the compiled executable

]]>http://www.simonsingh.net/The_Black_Chamber/homophonic_cipher.html

]]>Thank You very much Bob.]]>

See you later.

]]>N ≥ 2K and K ≥ 3: The answer is “Yes”. This is because if N is even, then N − 2(K − 2) is also even, so it is the sum of two primes, say p and q (by Goldbach’s conjecture). Thus, N is the sum of the K primes 2, 2, 2, ..., p, q. And if N is odd, then N − 3 − 2(K − 3) is even, so it is the sum of two primes, say p and q. Thus, N is the sum of the K primes 3, 2, 2, ..., p, q.

That is excellent. Thanks!

]]>