Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Experiments › Computer Science

Binary switches

Flip switches worth 1, 2, 4, 8 and more to make a number in binary. Each switch is one bit.

Flip the switches to make 65.
0128064032016080402010 / 65

00000000 = 0

Change the controls until it fits.

What to notice

  • Each switch is worth double the one to its right.
  • With n switches you can make 2ⁿ different numbers.
  • Every whole number has exactly one binary pattern.

Challenges

  1. Make the target number.
  2. Make the biggest number you can.
  3. Make 1 less than a power of two and spot the pattern.

Lessons that use it

  • Class 7: Number systems
  • Class 8: Number systems
  • Class 11: Computer systems