Intermezzo on Water

Intermezzo on Water

The words and sentences float losing their coherence as the visions and narratives of seaside communities decay into dreams of filtered sunlight and free verse and fog and failed concentration and ambiguous affections and terraced layers of improbable houses and the percussion and the solitude and concrete ruins washing into the ocean.

From the dissolving darkness a faint buzzing punctuated by clicks spirals outward along silent waves. In its wake sparks radiate and melt into the meandering trail of a melancholy story.

[Originally written September 15, 2003]

Weekend Cat Blogging and Photo Hunt: Point

There are so many interesting ways that one can interpret this week’s Photo Hunt theme of Point. Mathematics and highways come to mind, but this is of course also Weekend Cat Blogging, so as usual we feature cats. First, one of our many maneki nekos points its paw:

And here is Luna pointing while basking in the morning sun:

Both of these photos were taken with the latest lens and film options I got for the Hipstamatic app on the iPhone.

Another Hipstamatic photo on the theme does veer into the realm of highways. Here is one of several studies I did with the freeway entrance shield for the Bay Area’s infamous Interstate 238 for an upcoming article on the highway. It has the customary downward pointing arrow of freeway entrances in California.


Tomorrow (Sunday), we at CatSynth will be hosting the weekly Carnival of the Cats. If you have a feline-themed blog post from the past week, you are welcome to participate. Just visit the handy BlogCarnival submission form or leave a comment below.


Weekend Cat Blogging #350 is hosted by Kashim, Othello and Salome.

The Weekly Photo hunt theme is Point.

As stated above, we are hosting the Carnival of the Cats tomorrow.

And the Friday Ark is at the modulator.

Ackermann’s Function and “Really Big Numbers”

Today we return to to the topic of mathematics with a look at Ackermann’s Function. Anyone who has studied computer science has probably encountered this function (though I’m sure many have gone on to forget it). It is most commonly defined as follows:

This is actually a variant of Wilhelm Ackermann’s original function, often called the Ackermann–Péter function. It is quite a simple function to define and to trace, and it is very easy to implement in just about any programming language, including Python:

def ackermann(m, n):
  if m == 0:
    return n + 1
  elif n == 0:
    return ackermann(m - 1, 1)
  else:
    return ackermann(m - 1, ackermann(m, n - 1))

However, its complexity (in terms of run-time and memory) grows quite quickly. As such, it is often used as an exercise in teaching students more complex forms of recursion, and also as a test case in compiler development for optimizing recursion. It also has some interesting mathematical properties for particular values of m:

The numbers in the case of A(4,n) are quite large. Indeed, one could describe Ackermann’s function as “computing really really large numbers really really slowly.” Although the numbers grow quickly, the function is really just doing subtraction and recursion. We can take advantage of the properties described above, however, to make some shortcuts that yield a much more efficient function.

def ackermann(m, n):
  while m >= 4:
    if n == 0:
      n = 1
    else:
      n = ackermann(m, n - 1)
    m -= 1
  if m == 3:
    return 2 ** ( n + 3) - 3
  elif m == 2:
    return 2 * n + 3
  elif m == 1:
    return n + 2
  else: # m == 0
    return n + 1

With this version computing A(m,n) for m≤3 becomes trivial. And this makes computations for m≥4 possible. Or at least A(4,2), which we can actually run in python to reveal the 19,000 digit answer.

You can see the full value on this page. Computing A(4,3) is infeasible. Even with the optimizations, most computers will run out of memory trying to compute this value. But one can still reason about these rather large numbers. Let us move from the more common function we have been using to Ackermann’s original version:

This version has three arguments instead of two, and on the surface it may seem a bit more complicated. However, different values of the third argument p yield very familiar operations.


Again, this function is a rather inefficient way to compute addition, multiplication and exponentiation, but it is an interesting way to reason about them and extrapolate to other more exotic operations. For example, if we take p to be 3, we get the following operation.

Just as m x n is adding m to itself n times, and exponentiation mn is multiplying m by itself n times, this new operation (sometimes called tetration) is the next level: exponentiating m by itself n times.

Such an operation grows so fast as to be uncomparable to exponential growth. It grows even too fast to compare to the gamma function which have explored on CatSynth in the past. This series of ever higher-order operations is often noted with an arrow, called Knuth’s up-arrow notation after legendary computer scientist Donald Knuth.

Using this notation, we can define as sequence of numbers, called Akermann Numbers, where each is an ever higher-order operation of the element applied to itself.

  • 1↑1 = 11 = 1,
  • 2↑↑2 = 2↑2 = 22 = 4,
  • 3↑↑↑3 = 3↑↑3↑↑3 = 3↑↑(3↑3↑3) = 

Even just the 4th number is this sequence is so large that we can’t even easily notate it with exponents. So forget about the 5th number in sequence. But a question that interests me is what about interpolating with real numbers. What is the 1 1/2th Ackermann number? That question, if it even has an answer, will have to wait for another time.

CatSynth video: The Scanimate

Moog Little Phatty and the Scanimate

From experimentalsynth on YouTube, via matrixsynth where you can read more and see more images. A cute black cat makes a cameo appearance during the video 🙂

“The first attempt at controlling analog video animation with control voltage created by a Moog synthesizer. Learn more at www.scanimate.com and www.experimentalsynth.com”

“Scanimate is a 100% analog video animation system in use form the late 60s to early 80s. It was used on a number of popular films & TV shows including, Star Wars, Logan’s Run, Sesame Street & NBC Sports. Only eight were built and they originally sold for around $1,000,000.”

It’s interesting to consider in the context of the recently released LZX analog video modular synthesizer.

Gino Robair and Andrea Centazzo, with Trevor Dunn and Travis Laplante, Luggage Store Gallery

The first Thursday of this month featured an impressive performance by Andrea Centazzo together with Gino Robair at the Luggage Store Gallery in San Francisco. I had missed an earlier performance of theirs at another Bay Area venue earlier the week, but glad I was able to make this one.

The evening opened with solo sets by Trevor Dunn on upright bass and Travis Laplante on saxophone. Dunn’s set unfolded as a single piece, which had just started when I arrived. It was a combination of long bowed notes that are part of traditional bass practice along with timbral effects and more percussive extended techniques. The low tones filled the room nicely and provided a more meditative start to the evening.

Laplante’s solo saxophone set was quite a contrast in terms of energy and dynamics. It was nearly all extended technique with fast runs of notes. And it was quite loud. Given the acoustically active nature of the Luggage Store Gallery, this made for some interesting effects. I think the combination of the two sets worked well. Dunn and Laplante were touring the west coast of the United States and Canada together, so I suspect their contrasting styles played into their other performances as well.

Afterwards, the audience shifted 90 degrees towards the front of the gallery, where two tables festooned with a variety of percussion and electronic gear awaited the start of the second set. Andrea Centazzo’s table was dominated by the MalletKAT, a marimba-like electronic controller.

He also had a variety of small acoustic percussion, as well as this toy that he said was from a previous visit to San Francisco in the 1980s.

Gino Robair had his usual assortment of percussion, noisemakers and electronics, including the Blippo Box and his signature broken cymbals.

The set began in either a dramatic fashion, nor in an especially subtle way. It was well timed and well balanced and drew one quickly into the music. As I have said on previous occasions, a masterly improvisation performance will balance rhythm, dynamics and timbres into a cohesive whole, and this performance was no exception. Even with the “noisy” source instrumentation, I felt like the interaction of the performers created a harmonic structure of sorts to go along with the rhythms. And the electronic and acoustic elements blended well in this context. You can hear a short excerpt in this video:

Overall, this was a great performance, and I sat quietly and intently in full absorption of the music, foregoing the note-taking I sometimes do during experimental-music concerts. And it was a perfect conclusion to what had been a long day of not only experimental music but art-gallery openings. But that is another story.

Weekend Cat Blogging and Photo Hunt: Heart

Our combined Weekend Cat Blogging and Saturday Photo Hunt features the theme Heart. We have a few images that blend the theme with our interests in music, mathematics and of course, cats.

Here Luna poses with a heart-shaped kalimba (thumb piano).

Luna peers at the iPad, which displays a plot of a cardioid. We used a mathematical function that produces the heart-shaped figure when plotted with polar coordinates. The formula for the cardioid is: r = 1 – sin(θ), where r is the radius from the center of the plot and θ is the angle sweeping around the center. The best way to visualize polar coordinates is using one of those old circular radar screens where the plotter sweeps in a circular motion.

The photo also features one of Luna’s favorite toys, a heart-shaped plush toy with the word “kitty” inscribed on it. We have had it for years now (indeed, it was featured in a WCB/Photo Hunt back in 2008).


Weekend Cat Blogging #349 (Valentines Day edition) is hosted by Meowza.

The Saturday Photohunt theme is Heart.

The Carnival of the Cats will be up this Sunday at Meowzings of an Opinionated Pussycat.

And the Friday Ark is at the modulator.