### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,123)
- misc (2)
- project euler (2)
- puzzle (31)
- site news (43)
- tantalizer (31)
- teaser (3)

### Site Stats

- 168,355 hits

Programming Enigma Puzzles

29 January 2012

Posted by on **From New Scientist #2752, 20th March 2010** [link]

I have in mind a number

N. I’ll tell you some things about it:It is more than 2. If you draw a figure with that number of straight sides, with all its angles the same and with all the vertices lying on a circle, then all the sides will be equal in length. And the angles will be whole numbers of degrees.

And how many of the numbers 1, 2, 3,… ,

Ndivide exactly intoN? I’ve worked out that number and I’ll tell you something about it:It is more than 2. If you draw a figure with that number of straight sides, with all its angles the same, and with all the vertices lying on a circle, then all the sides will be equal in length. And the angles will be whole numbers of degrees.

What is

N?

[enigma1587]

Advertisements

%d bloggers like this:

The following Python program runs in 33ms.

Solution:N = 9.