Skip to main content
### Number and algebra

### Geometry and measure

### Probability and statistics

### Working mathematically

### For younger learners

### Advanced mathematics

# LOGO Challenge - Circles as Bugs

## You may also like

### First Forward Into Logo 1: Square Five

### LOGO Challenge 1 - Star Square

### LOGO Challenge 5 - Patch

Or search by topic

Age 11 to 16

Challenge Level

- Problem
- Teachers' Resources

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.

A Short introduction to using Logo. This is the first in a twelve part series.

Can you use LOGO to create this star pattern made from squares. Only basic LOGO knowledge needed.

Using LOGO, can you construct elegant procedures that will draw this family of 'floor coverings'?