Copyright © University of Cambridge. All rights reserved.

This builds on the Challenge Circles as Animals .

The idea of 'bugs' that grow with each successive generation and (when this problem was written) thoughts of the Y2K bugs- which if the newspapers were to be believedwould be here, there, everywhere. Surely some mistake! And it was!

However below are some bugs for the new millennium that can be replicated with some elegant programming.

You might like to think about, discuss with others and try evaluating before copying out the following procedures and experimenting further

TO FIB :X :Y

PR :Y

WAIT 15

FIB :Y :X +:Y

END

Try FIB 0 1

TO POW :X :Y

PR :Y

WAIT 15

POW :X :X * :Y

END

Try POW 2 1

TO TRI :X :Y

PR :Y

WAIT 15

TRI :X + 1 :X + :Y

END

Try TRI 1 0

You may even like to consider sending us other procedures that generate other special sequences of numbers.