Updated · By Pete Bromfield, former Head of Maths with IB examining experience

IA idea · Art, music & design

Spreading beats evenly: Euclid's algorithm and musical rhythm

AA SLAA HL Solid Also in: Pure maths, Cryptography

Research question

How can k drum hits be spread as evenly as possible across n steps, why does Euclid's algorithm for the highest common factor produce the answer, and which traditional rhythms does it generate?

Make it yours, then agree it with your teacher.

Next step: plan this IA free — the planner opens with this question filled in. For feedback on your own draft, the IA package (€39 once) gives you 5 AI feedback credits and every annotated exemplar in full.

Why it makes a good exploration

A link between the oldest algorithm in mathematics and rhythms from many musical traditions. You can listen to every result, and the 'evenness' question can be made precise.

The mathematics you'll need

  • Euclid's algorithm for the highest common factor
  • Floor functions and even spacing
  • A measure of evenness (sum of distances between hits)
  • Rotations and when two rhythms are 'the same' (counting)
  • Proof that the spacing differs by at most one step

Where the data comes from

No data needed; play the rhythms in a free drum app or clap them; compare with rhythms from music you know.

A possible outline

  1. Define 'as even as possible' precisely.
  2. Generate rhythms with Euclid's algorithm and with floor functions.
  3. Show the two methods agree on examples and explain why.
  4. Compare with traditional rhythms you know.
  5. Reflect on whether 'most even' means 'best sounding'.

Pitfalls that cost marks

  • Claiming a rhythm comes from a tradition without a source.
  • No precise definition of evenness.
  • Listing rhythms without mathematics.

Showing personal engagement

  • Play the rhythms yourself.
  • Find a Euclidean rhythm in a song you like.
  • Invent a measure of evenness and test it.

See Criterion C: personal engagement for what examiners look for.

Which course is it for?

CourseFitMaths to lean on
AA SLGood fitEuclid's algorithm for the highest common factor; Floor functions and even spacing
AA HLGood fitEuclid's algorithm for the highest common factor; Floor functions and even spacing
AI SLNot a natural fitThe mathematics is mainly AA or HL (calculus or proof beyond AI SL); an AI SL version would need a data-driven, technology-based approach.
AI HLNot a natural fitThe mathematics is mainly from the AA course; an AI HL version would need modelling with technology, statistics or networks at HL level.

Level: Solid. Needs some independent work beyond class examples. See how the IA differs between AA and AI, SL and HL.

How this idea reaches the top bands

Reflection (D)

For this idea, start with the weak points: claiming a rhythm comes from a tradition without a source; and no precise definition of evenness. Say how each one affects your answer.

Use of mathematics (E)

SL: euclid's algorithm for the highest common factor; floor functions and even spacing; a measure of evenness (sum of distances between hits); rotations and when two rhythms are 'the same' (counting); proof that the spacing differs by at most one step, each explained in your own words and carried out correctly.

How art & music explorations reach the top bands in general: Art, music & design IA ideas. Guides: A · B · C · D · E · self-grade sheet.

Taking it further

Count how many distinct rhythms (up to rotation) have k hits in n steps.

Extending it for HL

Add an HL technique the question genuinely needs: what an HL art & music exploration adds.

Frequently asked questions

Which IB Maths course is this IA idea for?

It works for AA SL and AA HL. We rate it Solid: it needs some independent work beyond class examples.

What mathematics does this IA use?

Euclid's algorithm for the highest common factor, floor functions and even spacing, a measure of evenness (sum of distances between hits), rotations and when two rhythms are 'the same' (counting) and proof that the spacing differs by at most one step.

Where can I get data for this IA?

No data needed; play the rhythms in a free drum app or clap them; compare with rhythms from music you know. Checked sources and tools: Desmos graphing calculator.

Turn this idea into your IA

The planner opens with “Spreading beats evenly: Euclid's algorithm and musical rhythm” filled in: the question, the maths and the data sources.

Plan this IA free

Your plan is kept in this browser. A free account keeps it with your drafts on any device: Join free · Sign in

Also: free IA self-check · A–E checklist (PDF) · have a draft? AI feedback or a review with Pete (€100)

Writing it up: how to write a Maths IA, step by step · structure and format · mistakes that cost marks · annotated exemplars, marked on every criterion

Similar ideas

All art & music ideas · AA SL ideas · AA HL ideas · All 239 IA ideas