Skip to main content

Konnō Hachiman-gū, a shrine for maths geeks

Never trust an astronomer. They tell you stuff about stardust; tempt you with morsels of celestial beauty; persuade you to ponder the What, the Whence and the Whereto of the universe. Before you can blink, you'll be reading books about maths. Maths! You will understand not one whit, but then again, you barely grasp the phenomenon that is Hello Kitty.

This great crossing of an Einstein-Rosen bridge started …

"It should be possible to continue this path arbitrarily far into the particle's future or past, unless the trajectory hits a gravitational singularity…"

How can you not love that? It's a line from that Wikipedia article. Anyway.

This little adventure started with a calendar; more specifically, this post, in which Massimo writes about "the 364.242190 spins that the planet did in its last revolution around the Sun".

Actually – for this is about science, and one should perforce be precise – it started with this post in February 2012, when I discovered that Japan used to have a leap year, never mind regular leap days.

Then it launched into orbit when I read Massimo's post. I thought of my own, and then I remembered that I'd been wanting to do a Japan astronomy post for aeons. That’s a roundabout way of saying I blame Massimo for this post. Any errors therein, however, are mine, for I am but a humble scribe and not a scientist.

Konnō Hachiman-gū

Look, the point is, there's a shrine for astronomers, or rather mathematicians, but it plays a role in calendars. I know about the connection thanks to a movie about Shibukawa Shunkai (渋川 春海), also known as Shibukawa Harumi (1639 - 1715), who was a Japanese scholar, go player and the first official astronomer appointed to the Tenmongata (Bureau of Astronomy) in the Edo period. During a journey to measure the altitude of the North Star, he noticed errors in the Chinese Hsuan-ming calendar that had been used for 800 years. (It consisted of 354 days. Seven intercalary months were added every nineteen years, but the whole thing was so out of kilter that it couldn't even be used to predict solstices accurately.)

Shibukawa Shunkai (or Shibukawa Harumi).

He started making observations with a gnomon to determine a precise solstice date, but his instruments weren't accurate enough, and he was doomed to fail again and again. He persisted, though, despite resistance from the selfsame court that had appointed him. He eventually revised the Chinese calendar and replaced it with the Jōkyō calendar (illustration below), which was issued in 1684 and calculated the length of the year to be 365.2417 days.

Source: Wikipedia

A book by Shibukawa. Source:

His life was depicted in a movie called Tenichi Meisatsu (天地明察, Insight into the Universe), based on the novel by scifi writer Tow Ubukata and directed by Yojiro Takita, who won a Best Foreign Language Film Oscar in 2009 for his funeral-business drama Okuribito (Departures).

Now we finally get to the shrine! The novel and movie both start at a shrine called Konnō Hachiman-gū, which has stood at this exact location for 390 years.

The shrine is in Shibuya, named after a family that supported Minamoto no Yoritomo in his uprising against the Taira family of Kyoto, and is dedicated to the Minamoto clan deity, Hachiman. It enjoyed long-lasting prosperity thanks to the patronage of Lady Kasuga, nurse of shōgun Tokugawa Iemitsu. Never underestimate the hand that rocks the cradle and the breast that feeds the next ruler.

The shrine was famous for its sengaku (算額 or calculation tablet), wooden tablets that contained geometrical puzzles and were left at various Shinto shrines and Buddhist temples as offerings. Members of all social classes participated: the only requirement was that you had to be a maths geek.
You can see the relevant scene in the movie in this video from 3:25 to 6:25, but it's been uploaded without sound, probably to avoid copyright complaints.

You still spot the odd puzzle at the shrine. When I was there, I noticed two. I took one look and hurried off to consult my university (engineering) students. They frowned, muttered a bit and eventually translated/expounded: "The top and bottom surfaces are parallel, the top is a complete triangle, the height is the square root of 2, and the blue plus pink form one big 3D triangle."

That makes perfect sense. Allegedly. (I have to admit that my response to this was, "Oh. That's it? Isn't it Euclidian origami or at least the final answer as to whether P = NP or not?!")

The second ema is a go puzzle, but none of us – students and I – are go players, and we admitted defeat. We visited the website on the ema, but then decided coffee would be a better call. 

So there you have it. It's a shrine for maths, science, geeks and wacky southern barbarians.

Oh! Wait! Talking of barba … non-Japanese … it's also a shrine with a very special priest: Florian Wiltschko, the first foreigner in Japan to officially qualify as a Shinto priest. He studied Japanology at the University of Vienna, Shintoism at the Kokugakuin University in Tokyo, and then began working at Konnō Hachiman-gū, which is run by the family of a former classmate of his at Kokugakuin.

Read more about him here, here and here.

We're almost done. I started researching this post and mountains of books/encyclopaedias later, most of it irrelevant to this post (of course) [this is me we're talking about], here it is. I'm rather chuffed that it was finished without the help of chocolate, in fewer than 1400 words. I want to end with this poem, and I know the person responsible for this post will agree with me. As beautiful as science is, it's not as perfect as the stars themselves.

When I heard the learn’d astronomer;

When the proofs, the figures, were ranged in columns before me;

When I was shown the charts and the diagrams, to add, divide, and measure them;

When I, sitting, heard the astronomer, where he lectured with much applause in the lecture-room,

How soon, unaccountable, I became tired and sick;
Till rising and gliding out, I wander’d off by myself,

In the mystical moist night-air, and from time to time,

Look’d up in perfect silence at the stars.
–– Walt Whitman

Shibukawa used an astrolabe like this to do his calculations. Source:


1) I've given up with Japanese names: some are first/given/personal name first, some are family name first in this post. It depends on a) how well-known they are outside Japan and b) how pernickety I felt at that particular moment.

2) Maths, British maths, with an s. That ends with a crisp sound, QED. Math peters out into an insipid lisp, like a mouthful of hot porridge, and takes you exactly nowhere.

3) I'm afraid you can't pray for a better head for figures at this shrine, despite its history. (Drat.) Then again, Hachiman is the god of war, and I certainly thought of maths as war when I was at school and especially university. The shrine's Japanese website refers to life's ups and downs, and says the world is a bit of a battlefield. (Ha!) Then it says you can pray, amongst others, for general good fortune, traffic safety and career advancement. It sounds as if the Enterprise NX-01 should pay a visit to Shibuya.

4) Damnit, Massimo!

Konnō Hachiman-gū has beautiful wooden carvings that remind me a bit of Nikkō Tōshō-gū.

Sources and further reading:

Biographical Encyclopaedia of Scientists, Third Edition, edited by John Daintith

Mathematics Across Cultures: The History of Non-Western Mathematics, edited by Helaine Selin

Samurai Art (website)

Self-support of Japanese Astronomy in Edo Period – Seki Takakazu and Shibukawa Harumi by Yukio Ohashi (PDF)

Sumiko Enbutsu, Battle Losses to Fashion Victims (newspaper article)

Co-blogger Sapphire, Calendar-making and math tablets (blog post)

If you're really interested, I recommend a visit to the National Museum of Nature and Science in Ueno Park. See why I live in the shitamachi? 

Edit added 29 January: More beautiful photos and information at Kaori's blog, Kaori Square Feet.

The entrance to the shrine

This is a different shrine, Tamatsukuri Inari Jinja (玉造稲荷神社), which is just next to the Hachiman shrine.

The Inari shrine

Popular posts from this blog

Higanbana, a flower of loss and longing

I love this flower. I love all flowers, but this one, ah, this one comes packaged with the most wonderful stories. Its scientific name is Lycoris radiata; in English it's red spider lily; in Japanese it has several names including higanbana (ヒガンバナ), in other words, autumn equinox flower.

It's also referred to as manjusaka (曼珠沙華), based on an old Chinese legend about two elves: Manju guarded the flowers and Saka the leaves, but they could never meet, because the plant never bears flowers and leaves at the same time. They were curious about each other, so they defied the gods' instructions and arranged a meeting. I assume it was not via Twitter. The gods promptly punished them, as gods are wont to do, and separated them for all eternity.
To this day, the red lily is associated with loss, longing, abandonment and lost memories in hanakotoba(花言葉), the language of flowers. It's believed that if you meet a person you'll never see again, these flowers will grow along your…

This is what my language sounds like

A while ago I promised I would do a post about Afrikaans songs. Oh dear. It's more work than I thought it would be, and it's aggravated by the fact that I've lost touch with contemporary culture in South Africa. (Please don't ask me about Die Antwoord. I don't get it. I don't want to get it.) So for now, while I continue my research, I've selected two golden oldies that are very natsukashii (that's a Japanese word for "dear" or "missed") to me. You'll notice the central themes that unite these songs: an abiding love for Africa, as well as loss and longing.
Quick recap: Afrikaans, my mother tongue, is a South African language developed from 17th century Dutch. It has adopted words from Malay, Khoisan and Bantu languages, but 90% of its vocabulary is of Dutch origin. Yes, I understand Dutch (with a bit of effort) and Flemish (easily). Afrikaans has about 6 million native speakers.
Tomorrow we return our focus to Japan. Tonight, son…

Happy birthday, Mum!

Here's an August flower for you.  Not your beloved cherry blossoms, but your favourite colour. I miss you.

The ultimate guide to Kanda Myojin

I'm floundering. I don't know how to start a post about Kanda Myōjin (神田明神), because how do you choose a highlight from this collection below?
The decapitated head of a rebellious samurai who's still haunting Ōtemachi is buried in the vicinity, and his deified spirit is enshrined here.It's been called the world's geekiest shrine thanks to its proximity to otaku heaven Akihabara. The shrine has a Facebook, Twitter and LINE account.You can see some extremely generously endowed young ladies on the shrine's ema.It has a horse. A real horse. A tiny living breathing pony.Birds protect it against fire.
See my problem? Where do I start the ultimate guide to the ultimate shrine?

Why Kanda Myōjin?
Let's be boring and kick off with my own connection with Kanda Myōjin, which is very simple: I've always lived within walking distance of the shrine. My first four years in Tokyo were spent in Kanda, blissfully close to the book district Jinbōchō, and I frequently passed …

The Princess Who Loved Insects (updated)

My blog gets so many search keyword hits about this particular topic that I've decided to update an old post about the Japenese story The Princess Who Loved Insects(虫めづる姫君Mushi Mezuru Himegimi).

It's contained in Tales of the Riverside Middle Counselor (堤中納言物語Tsutsumi Chūnagon Monogatari), a collection of short stories written in the late Heian period. It focuses on the adventures of a young girl who refuses to make herself beautiful and play the courtship game. She doesn't blacken her teeth and pluck her eyebrows (as refined ladies did in those days); instead, she spends her time outdoors, playing with bugs and caterpillars.

I refer to her as Ms Mushi (Ms Insect).  A girl this tough is definitely not a prim prissy Miss, she's a ballsy Ms. She's my favourite Japanese heroine. She's strong, she's rebellious, she refuses to pretend, she ignores society's stupid rules that fetter women. You go, girl! Long live caterpillar eyebrows!

Donald Keene mentions in hi…

Hiking along the Mitake Valley in Okutama

I'm lying. Exaggerating. It's not hiking; it's walking.

As a matter of fact, the Mitake Valley Riverside Trail has given me a new definition of walking vs hiking: if you encounter vending machines along the way, it's walking, not hiking.
I've done several hikes in Okutama, but I'm going to start with this walk because anybody can do it. It's exceptionally beautiful, truly pleasant and very easy. You don't need to be an experienced hiker, you don't need hiking boots, you don't need energy drinks – or Scotch – to keep going.

It starts at Ikusabata Station on the Ōme Line, follows the Tama River and ends about 5 km upstream. It took me about two hours of slow walking, many photos, frequent diversions and arbitrary stops to enjoy the autumn colours.
Let's do this section by section. Warning: this post is photo-heavy!
Ikusabata to Sawai

It takes 90 minutes from Tokyo Station. Take the Chūō Line to Ōme, transfer to the Ōme Line and get off at Ikusab…

The princess who loved insects

Edit added 8 May 2013: This post receives so many keyword search hits for "The Princess Who Loved Insects" that I've published an updated post (with extra information) that focuses on the book. Click here to read it.)

Blogging has been an interesting experiment. I initially started two blogs, Rurousha for personal musings and Sanpokatagata for factual stories accompanied by photos. I've now decided I'll do all stories on this blog, regardless of the content, and turn Sanpo into a supplementary photo blog. I'm not sure it's a good idea, since I'm not a good photographer at all, but let's see how it goes.
It occurred to me that "nomad" is not the ideal name for my blog. I don't wander anymore; I want to live in Japan forever and ever amen till death do us part. Then I remembered that I've already stayed in six different apartments in Tokyo and although most of my income is derived from one company, I've been based in three diff…

Edo wind chimes: air con for your soul

Have you noticed that Japan has a thing about bells?
Watch people's phones: every second phone charm has a little bell that jingles with the slightest movement. There are bells on doors and bells at shrines and bells at temples. There are bells on traditional hair ornaments called bira-bira kanzashi, bamboo chimes tuned DFGA for your garden, bells are a symbol of peace (link) and their sound echoes the impermanence of all things (link).
From which one could correctly deduce that peace is ever transient.
Now, before I get sidetracked down a thousand rabbit holes, let’s focus on the real topic: bells, yes, but specifically wind chimes or fūrin(風鈴).

I would not to mine own self be true if I didn't include a little history lesson. Here we go:
The oldest wind chimes found at archeological sites in South East Asia are 5000 years old. These early versions were made from wood, bones and shells; and were probably used to keep birds out of cultivated fields and/or to ward off evil spirits.

Yotsuya Kaidan, Japan's favourite ghost story

Kaidan! Ghost stories! You ready?
August is the month of Obon (お盆), a Buddhist festival that honours ancestral spirits, who are believed to return to their birthplaces in this week.  Since otherworldly beings are wandering about, it's also the perfect time for ghost stories or kaidan.
Kaidan (怪談) consists of two kanji: 怪 (kai) meaning "strange, mysterious or bewitching apparition" and 談 (dan) meaning"talk"or "recited narrative". It's a slightly old-fashioned word that conjures up tales from the Edo era, and we're going to start our August Kaidan Series with an old Edo tale of murder, betrayal and revenge that remains the most famous ghost story in Japan.
It's called Yotsuya Kadain (四谷怪談), and it proves that "heavenhas norage like love to hatred turned, norhellafury like a woman scorned".¹ It's roughly based on a real event: a woman called Oiwa² married a man called Tamiya Iuzaemon, but after their divorce, various misfortunes be…

Bush clover, the flower of autumn

It's a modest plant, easy to overlook, yet it used to be Japan's most beloved flower.

Bush clover (ハギ, hagi) is mentioned in 141* poems in the Manyōshū (万葉集, Collection of Ten Thousand Leaves), Japan's first anthology of poetry, compiled in the 8th century. That far exceeds the 119 poems about the second-most popular flower, plum blossoms. The latter was revered as an exotic import from China; the former was praised for its rustic simplicity.

Bush clover grows about 3 m in height and has long, slender branches that droop across paths. The branches represent feminine elegance, but it's also a symbol of vigour thanks to its ability to produce young shoots from old stock. It flowers in September, when summer's heat lingers, but it's believed that if you can see dew drops on the plant's small green leaves, you know that autumn is near.

Nowadays the flower attracts little attention. There aren't any good bush clover viewing spots in Tokyo that I know of, apart…