Spooky Sale: 10% off Premium yearly · $118.80 for the first year · until Nov 6Get it

Deep-ML
Learn
Problems1,200+ hands-on ML problemsLearning PathA guided route through the fundamentalsLabsInteractive labs on real techniquesProjectsBuild a GPT, an RL agent, CUDA kernelsCollectionsCurated problem sets and videosMathPen-and-paper math for MLIntuitionInvent the idea behind the formula yourselfPlaylistsYour own problem lists, shareableStudy AssistantAn AI teacher that knows your progress
Interview Prep
Compete
ContestsFresh problem sets, ranked liveLeaderboardWhere you stand, globallyBuddiesSolve with a friend: streaks, a weekly board, chat
Discuss
Deep-Path
Premium
      Intuition
      47 of 130

      Why sums look like bells

      Roll dice fair dice, each with sides sides numbered 1 to sides, and add them up. One die is flat, but the total of many makes a bell. Write bell_for_sum(dice, sides): the bell’s centre and width as [centre, width], where the width is the total’s standard deviation (the typical distance from the centre, as in How spread out?). The puzzle draws your bell over the exact chances of every total.

      The exact chance of every total of 1, 2, 4 and 16 dice, on one scale (one step = one pip). One die is flat; the totals pile up in the middle until a bell appears. The obvious width, the dice times one die’s spread, is far too wide. The goal is the bells it ends on. Once it has played, click a row.

      One die: every face from 1 to 6 is equally likely. Flat.1 die162 dice2124 dice42416 dice1696
      Your functionbell_for_sum(dice, sides)
      dicehow many dice are rolled and added upe.g. 1
      sideshow many sides each die has, numbered 1 to sidese.g. 6
      returns[centre, width]: the mean of the total and its standard deviation
      solution.pyLoading Python
      Sign in for an AI hint
      ← The bus you wait forDarts at a square →