       how to generate a random serie with matrix condition

• To: mathgroup at smc.vnet.net
• Subject: [mg92471] how to generate a random serie with matrix condition
• From: "paul" <diavolololo at alice.it>
• Date: Wed, 1 Oct 2008 18:30:20 -0400 (EDT)

```Hello

My name is Sara Ferrari, i'm an italian student and i'm starting to use
Mathematica .
The problem to solve is to generate a serie of numbers that must respect the

the numbers are 9 from 1 to 9
The random serie is long 9^11
every subserie (of 9 numbers)can't have the follow disposition:

1
2
3
4
5
6
7
8
9

and all the 9x8x7x6x5x4x3x2x1 dispositions where all the 9 numbers exit in a
serie of 9 long.
The same condition must be respect every  2-3-4-x- selection ,where the
selectio between the 9 numbers has the same distance.

1_2_3_4_5_6_7_8_9     (  _  ) = numbers     (DISTANCE 1)
1_ _ 2_ _ 3_ _ 4_ _ 5_ _ 6_ _ 7_ _ 8_ _ 9    (DISTANCE 2)

and so on.

Which is the code that i must to insert in mathematica for generate the
serie
above indicate ?

Thanks