### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,367)
- misc (4)
- project euler (2)
- puzzle (90)
- puzzle# (48)
- site news (58)
- tantalizer (94)
- teaser (7)

### Site Stats

- 233,130 hits

Programming Enigma Puzzles

15 December 2013

Posted by on **From New Scientist #2523, 29th October 2005**

I have in mind four numbers, each of four different digits one of which is 4. For each of them, four of the statements below are true and four are false.

(1) The number is a fourth power.

(2) The number is divisible by four.

(3) The number consists of a two-digit square followed by a smaller two-digit square.

(4) The product of the four digits exceeds the fourth power of 2.

(5) The number does not have two or more different prime factors.

(6) Each of the four digits is a perfect square.

(7) The digits form an arithmetic progression.

(8) The sum of the digits is prime, or else the sum of the two digits of that sum is 4.What are my four numbers?

This is a similar type of problem to **Enigma 1775**.

[enigma1364]

%d bloggers like this:

This Python program runs in 105ms.

Solution:The four numbers are 4096, 4567, 4936 and 8164.