MathGroup Archive 2008

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

Search the Archive

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
follow condition:

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

Sorry for my bad english...

a kiss for who can help me

Bye



  • Prev by Date: Re: Expressing values in the legend in terms of original data
  • Next by Date: Re: signs in the mathematica output
  • Previous by thread: Re: ContourStyle -> {{Dashing[0.15, 0.5]}} has no effect
  • Next by thread: About FindRoot