MathGroup Archive 2004

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

Search the Archive

NthPermutation: how to change output format?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49807] NthPermutation: how to change output format?
  • From: BV <dont at bug.me>
  • Date: Sun, 1 Aug 2004 18:48:39 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Result of a calculation {a, b, 2, c, 3, e, d, 1} needs to be printed out 
immediately as ab2c3ed1 (without commas and parentheses)

How is this done?


For example, when this is typed:

<< DiscreteMath`Combinatorica`
NthPermutation[500, {a, b, c, d, e, 1, 2, 3}]

result is:
{a, b, 2, c, 3, e, d, 1}

How do I get directly:

ab2c3ed1

without commas and parentheses?


  • Prev by Date: Re: Re: Question on Compile[]
  • Next by Date: Re: Marking a (rectangular) zone in a standard 2D plot using "Rectangle"
  • Previous by thread: Re: Combining 2D graphs into a 3D graph
  • Next by thread: Re: NthPermutation: how to change output format?