### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,149)
- misc (2)
- project euler (2)
- puzzle (38)
- site news (44)
- tantalizer (40)
- teaser (3)

### Site Stats

- 175,242 hits

Advertisements

Programming Enigma Puzzles

16 October 2015

Posted by on **From New Scientist #1463, 4th July 1985** [link]

I recently met a Continental employer who applies a painless IQ screening test to all prospective employees. His advertisements require that all candidates must ring-in on an ex-directory telephone — but the number to ring is published in a clandestine form.

Recruitment will soon be extended to Britain.

New Scientistreaders are privileged to preview this statement of the telephone number to be used:(1) The international telephone number comprises three discrete groups of numerals. No group commences with the digit 0.

(2) The decimal number represented by the first group to be dialled is equal to the sum of all other digits in the number. The decimal number represented by the second group is the square root of the third group number.

(3) The first 10 numerals to be dialled include all the available digits from 0 to 9; the 11th (last) numeral repeats the 10th numeral.

Good luck with your applications! Please let us know the complete telephone number in correct dialling sequence before you sail.

[enigma315]

Advertisements

%d bloggers like this:

A bit of analysis brings the search space down to a reasonable size.

This Python program runs in 38ms.

Solution:The phone number is 38 712 506944.International calling code +387 is currently the number for Bosnia and Herzegovina. But when the puzzle was set in 1985 the +38 code was assigned to Yugoslavia.