Silicon Forest Maths

Kirby Urner
3 min readApr 30, 2023

We’ve known for a long time, here in the Silicon Forest, that high school maths (using the UK’s plural form) needs to converge with coding, as in computer programming. Below, we see what that looks like learning Julia:

Figure 1: high school desktop

Allen B. Downey, a co-author of Think Julia, is likewise an author of Think Python. It’s not either or with these languages, plus we’re allowed to dabble without committing to attaining mastery. “Try before you buy” is a good policy more generally, i.e. curricula need their intro versions, with further ladder rungs for those choosing (voluntarily) to climb.

If you’re already convinced by the Oregon Curriculum Network approach, one of many, then you already know about our focus on the Crystal Ball Sequence, which relates to the animated GIF below:

This is the sequence we’re implementing in the Julia language in Figure 1. There’s the nuclear ball, then 12 around it, then a layer of 42, then another layer (of 92) and so on. You’ll find it listed in the Online Encyclopedia of Integer Sequences (OEIS) as A005901 (you’ll see my name in the links section) but that’s not yet the sequence in question. The Crystal Ball Sequence (CBS) is the cumulative version, i.e. 1, 13, 55, 147… per the numbers printed in the REPL (explained below).