Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Problem 764. Soccer - TOTO

Created by Reza Ahmadzadeh

How many different outcomes are there in a soccer-TOTO with n games?

For each game there are three results: win - loss - equal. So for example with 2 games between team A and B, we can have different outcomes:

A win(1), A loss(-1), A draw(0) for first game and A win(1), A loss(-1), A draw(0) for the next game. Outcomes are like this:

   1  1
   1  0
   1 -1
   0  1
   0  0
   0 -1
  -1  1
  -1  0
  -1 -1

Problem Group

Solution Statistics

23 correct solutions 7 incorrect solutions
Last solution submitted on Sep 15, 2014

Problem Comments