Stilly, you posted the answer to Amos' problem. I saw it, briefly, and I found it mathematically elegant and quite simple when you understood it.
Unfortunately, last night I had to go to a Trusties meeting at the Legion Hovel and the fumes there drove it completely out of my mind.