MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: INFORMATIONS

  • To: mathgroup at smc.vnet.net
  • Subject: [mg17343] Re: INFORMATIONS
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Mon, 3 May 1999 01:45:51 -0400
  • References: <7gdso3$q58@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Francesco Paolone <lwpao at tin.it> wrote in message
news:7gdso3$q58 at smc.vnet.net...
>
> I am a new "Mathematica" user.
> I'm not a mathematician but interested in "Mathematica" possibilities
about
> combinatory calculations.
> I've read the about Help file but I haven't understood how in practice I
can
> do it.  How to order the computer to do for example this:
> input:  3 5 15 22 52 90
> output: show me all the possible combinations for those numbers.
> Can you teach me about, showing me step by step what I can do?
> My "Mathematica" version is 3.0 and my operative system is Mac OS 8.5
>
> I'd like also informations about Italian sites for "Mathematica" and about
> combinatorica related to Lottos and Lotteries (also in english).
>
> Thank you very much
>
> GIUSEPPE PAOLONE
> ROME  ITALY
> e-mail: lwpao at tin.it
>
>

There is the built in fuction Permutations:

Permutations[{a,b ,a,c}]


{{a,b,a,c},{a,b,c,a},{a,a,b,c},{a,a,c,b},{a,c,b,a},{a,c,a,b},{b,a,a,c},{b,a,
c,
    a},{b,c,a,a},{c,a,b,a},{c,a,a,b},{c,b,a,a}}

And a lot more in the add-on packages.
Look in the Help Browser

Help>Help>Add-ons > Standard Packags > DiscreteMath

In  particular at the two packages, "Combinatorica" and  "Permutations".

Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565







  • Prev by Date: Re: The behaviour of DisplayTogether
  • Next by Date: RE: How can I plot a file of <x, y, z> points?
  • Previous by thread: Re: INFORMATIONS
  • Next by thread: Re: INFORMATIONS