Friday, May 09, 2008 - 11:17 pm

Ebb

The words of her ancestor Murasaki Shikibu came to her and she said them.

"The troubled waters
Are frozen fast.
Under clear heaven
Moonlight and shadow
Ebb and flow."

Hannibal made Prince Genji's classic reply:

"The memories of long love
Gather like drifting snow.
Poignant as the mandarin ducks
Who float side by side in sleep."

"No," Lady Murasaki said. "No. Now there is only ice. It's gone. Is it not gone?"

~ Hannibal Rising, Thomas Harris

Wednesday, May 07, 2008 - 12:41 am

商店街のおせんべいやさん

最近、全然書き込みはなし。
いろいろと忙しいからとはいえるだろう。
ええ、半分言い訳だけどね。

後半分の理由といえば、
こないだの心境を
うまく言葉にしづらいからだ。

うんんと、先日見たドラマ
こんなセリフあったんだけど、
たぶん俺の思いごとをまとめてやると、
そういう感じかな。
「・・・見なれた通りの、いつも見かけるおせんべいやさん。

だけど、ある時そこを通りがかって気付く。そこにあったは
ずの店がなく工事をしている。

あれ?って思う。ここって、何の店があったんだっけ・・・

当たり前にあったはずの店なのに、思い出せない。

君もきっと、きっと君もそんな風に僕を忘れる。
思い出せなくなる。・・・」
いうまでもない、別れ話。

そこで俺が思い浮かぶのは、
すこし外れたものかもしれないけど。

ああいつは最近、
遠く離れてゆくようなきがする…

時間という変数が入ってくると、
永遠の約束なんてない。
たとえ
皆と一緒に、幸せだよって言ったはずとしも。
たとえ
思い出を分かち合った仲間だったとしても、

一方的に育まれるものであれば、
縁が切れないはずはない。

けど
がっかりしてもどうするのよ…

Thursday, May 01, 2008 - 12:22 am

Logic Puzzle: Pirates and Gold Coins

Here's a logic question from a friend.
5 pirates have to decide how to divide their loot of 100 gold coins. The rules are as follow:
  • The most senior pirate gets to propose a way to divide the loot.
  • Each pirate, including the most senior pirate himself gets to vote.
  • If the majority agrees with the proposal, the loot will be divided as suggested.
  • In the case of a tie, the proposal will be accepted.
  • If the majority disagrees, the most senior pirate will be killed. The next most senior pirate gets to suggest. The process continues.
Now, you're the most senior pirate out of the five. How are you going to divide the coins so that you get the biggest share possible? (All pirates are perfectly logical and greedy.)

Tuesday, April 22, 2008 - 5:21 pm

Fibonacci Sequence

Another chunk of digits spewed up by the computer. This time, it's the smallest Fibonacci number containing 1000 digits.

10700662663827589367649805844573968850836838966321
51665013235203375314520604694040621889147582489792
65780469488817759195748433646667256995951299603046
12627480924821861440694330512347744427502737817530
87579391666192149259186759553966422837148943113074
69950343954700198543260972306729019287052644724372
61177158218255484911205250132014786129659313817922
35559657452039506137551467837543229119602129934048
26070617539770684706820289548690266618543512452190
03694806413574474709117076197669456910700980243934
39617474103736912503231365532164773697023167755051
59517351846057995491941096777837322966579658164651
39034881542563101842241902598460880001101862555502
45493937113651657039447629584714548523425950428582
42530608354443542821261100899286379504800689433030
97732178348645431132057656598684562886168087186938
35297350643986297640660000723562917905207051164077
61481249188583094594056668833910935094445657635766
61516193177537928916615813271596168774879838218204
92520348473874384736771934512787029218636250627816