### 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,129 hits

Programming Enigma Puzzles

10 August 2019

Posted by on **From New Scientist #3242, 10th August 2019** [link] [link]

Rashmi told us that she had to make up some codes, ones that preferably have a unique quality to them.

“For a four-digit code, I chose 2020, because it has two 0s, zero 1s, two 2s and zero 3s. I chose 3211000 for a seven-digit code.”

She then told us that she used the same idea for a 10-digit code.

What was this code?

[puzzle#16]

%d bloggers like this:

We investigated the base 10

autobiographical numbersinEnigma 476and generated a complete list of them.There is only one autobiographical number with 10 digits.

Solution:The code is 6210001000.Note that 1210 is also a 4-digit autobiographical number, and there are no autobiographical numbers of length 6.

Using the recipe given with

Enigma 476we can generate autobiographical sequences with length 10, and turn them into numbers.Run:[ @repl.it ]