From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: David Thompson Newsgroups: comp.lang.ada Subject: Re: How to shuffle/jumble letters of a given word? Date: Sun, 09 Aug 2015 17:50:25 -0400 Organization: Poor Message-ID: References: <24d183ce-77b6-4fe1-a95e-0ff5ef72c7bd@googlegroups.com> <03b78b5c-d263-4398-97b5-e613c92cb07d@googlegroups.com> <1f55d283-1690-4503-a31d-730a08a633ef@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: mx02.eternal-september.org; posting-host="5fcb019dadb014e3dec41a116410a458"; logging-data="1010"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182FJeSETnO88QBMQ0sdmVB1gWEHDTPTbg=" X-Newsreader: Forte Agent 3.3/32.846 Cancel-Lock: sha1:W1d6qnWusoT/nL1lD6c90nIq4Zo= Xref: news.eternal-september.org comp.lang.ada:27397 Date: 2015-08-09T17:50:25-04:00 List-Id: On Wed, 1 Jul 2015 03:40:40 -0700 (PDT), darkestkhan wrote: > On Tuesday, June 30, 2015 at 12:29:57 PM UTC, Austin Obyrne wrote: > > There are 10 ways of shuffling 'Hello' > > > > Only 10 ways? I know 7 ways to do it, I suspect that there are many more. > And if you meant that there are only "10 possible results of > shuffling" then you are way off the target (5! possible shuffles, > which is 120) > Except if the two 'l' (ell) are indistinguishable then 5!/2!=60.