Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need algorithm
Message
Information générale
Forum:
Games
Catégorie:
Question
Titre:
Divers
Thread ID:
01517506
Message ID:
01517554
Vues:
37
>>I need to create algorithm (based on an integer number) that by applying some formula or equation to this number I can identify if the number belongs to group 1, 2, or 3 or any combination of them (e.g. 1 and 2, 1 and 3, 1 and 2 and 3, 2 and 3)
>>For example, number 8 would indicate belonging to all three groups (since I can divide this number by the group number without a remainder.
>>Any suggestions?
>
>This will point you in the right direction:
>http://www.jimloy.com/number/divis.htm
>..of course 7 is tricky but this seems to work
>http://www.maa.org/mathland/mathtrek_05_23_05.html

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform