.
. centre de ressources dilemmes et doutes le visage humain de mathématiques Qui sommes-nous Problème de mois activités de promotion babillard
Centrale des maths - centraledesmaths.uregina.ca
Dilemmes & doutes
« D & D »
. .
topic card  

Sujet:

included numbers

liste de
sujets
. .
nouvelle recherche

Un article trouvé pour ce sujet.
 
Page
1/1
Options 1 2 4 8 16 32 64 128 etc. 2008-05-09
Abraham pose la question :
I have seen programs with options and I wish to create a similar program.

I have options 1 2 4 8 16 32 64 128 etc.
If I receive option 3 means option 1 and 2 are included. Option 20 means option 16 and 4 are included. that because of the sum of those numbers is the olny way to get the given number.

I want to know if is there a way
to know which number from options are included.
How I know:
1 is Included
2 is Included
4 is Included

Stephen La Rocque lui répond.
 
Page
1/1

 

 


Centrale des maths reçoit une aide financière de l’Université de Regina et de The Pacific Institute for the Mathematical Sciences.

CMS
.

 

accueil centre de ressources accueil Société mathématique du Canada l'Université de Regina PIMS