# The mystery of the Samurai

In the year 1612, the famous samurai Miyamoto Musashi fought against Sasaki Kojirō, in the famous duel of Funa-jima.

Miyamoto killed his opponent who, shortly before his death, gave Miyamoto a strange piece of paper.

Sasaki said to Miyamoto that he had received it years earlier from a strange old treasure hunter; the hunter confessed that he had buried all the treasures he'd found in his long life, but it would not be easy to find them. Sasaki also said that he'd never understood the meaning of the paper.

Miyamoto died many years later, but the message still remains a secret to this day.

Where the treasures are buried?

Hint 1 :

Try to resolve before the first two horizontal rows; after 'rotate' the grid of 90° and try to solve the other seven 'vertical rows'...

Hint 2 :

The colors aren't relevant for the solution, image the cells with binary code...

Hint 3 :

Miyamoto did not have the technological know-how to solve the puzzle

Hint 4 :

The first row is a word. The second row is a word.

• Geocaching tag? – Micha Sprengers Apr 20 '16 at 9:18
• Is this fiction or real? – Shuri2060 Apr 20 '16 at 10:50
• For people wondering about the story, I have found an online link to it's pdf here. – Dawny33 Apr 20 '16 at 12:16
• I'm curious why you chose that for the second line? – paste Apr 28 '16 at 15:35
• @StefanoLonati Ah cool. I remember my Italian friends talking about Topolino – paste Apr 28 '16 at 15:38

The top two lines:

Morse code (blue is dot, beige is dash):
The top line is Vigenere
The bottom line is Donald, which I'm guessing is the key for the Vigenere cipher

The four squares below:

They are ASCII codes, laid out vertically. Starting with the top 7x7 square and reading across we get:
T R R D S U R
0 0 E Q k E 1
R R 4 p V h M
V X u P T T u

From there:

Rotate 90 degrees, so that the binary representations read left to right, which gives:
R1MuUEhTSkVTDQpPRE4uR0RXT0RV
Decode using Base64 to get:
GS.PHSJES
ODN.GDWODU
Then apply our Vigenere decipher with DONALD as the key to get: DE.CHHGBE
BDC.DAIBDJ
Taking A=0, B=1, etc., we get coordinates: 34.277614, 132.308139

The treasure is buried by

Mt. Misen, on the island of Itsukushima in Hatsukaichi, Hiroshima, Japan

• vero good job!! – Stefano Lonati Apr 28 '16 at 6:17
• @StefanoLonati man, what a workout! – paste Apr 28 '16 at 6:21
• How do you know base64 needs to be used? – justhalf Apr 29 '16 at 11:28

The first two lines are

Morse code: ..._ .. __. . _. . ._. . _.. ___ _. ._ ._.. _..
which translate to : VIGENERE DONALD. I imagine that the vigenere decryption must apply to the rest of the puzzle yet to be solved.

I tried to manipulate the four 7x7 squares by

rotating them 90° and converting each 7bit segment into ASCII, which does not provide much:
T ? R V
R ? R X
R # 4 u
D ) p P
S 5 V T
U # h T
R ? M u
Question marks are non-printing characters. And all non-alphabetical characters cannot be vigenered ...

thus without success ...