Probability Data Base - Part 4
Author Message
Probability Data Base - Part 4

See "Probability Data Base - Part 2" for methods:
Assuming you stick to the lower 128 characters in the ASCII set and drop
the first 31 which tend to cause printing problems and end of file marks
etc.. you will have 33 "special" characters left, if you want to use the
upper 128 characters as well just replace the 33 below with however many
special characters you have:

this one should be:
26^3 * 26^2 * 10^3 * 33^2 * 10 * 56 * 45 = 326,058,225,292,800,000

where:
26^3 lower case groups
26^2 Upper case groups
10^3 number groups
33^2 special character groups
10 combinations for each 3&2 Lower/Upper  block
56 combinations for each 5&3 letter/number block
45 combinations for each 8&2 regular/special block.

Quote:
> Hi !

> I wish a hint/help from Clipper friends on subject.

> Case :
> Want to know how can we create a database for  words consist of,  say
> ten characters - 3 lower case, 2 upper case, 3 numerics and 2 special

> would there be.

> Would  appreciate a quick/speedy routine.

> Thanks a lot

Sun, 18 Jun 2000 03:00:00 GMT
Probability Data Base - Part 4

Is this a joke.

Quote:

> Hi !

> I wish a hint/help from Clipper friends on subject.

> Case :
> Want to know how can we create a database for  words consist of,  say
> ten characters - 3 lower case, 2 upper case, 3 numerics and 2 special

> would there be.

> Would  appreciate a quick/speedy routine.

> Thanks a lot

--
-------------------------------------------------------------------
Russell England
Contract Software Services Ltd
http://www.css2.com
-------------------------------------------------------------------

Tue, 20 Jun 2000 03:00:00 GMT
Probability Data Base - Part 4

Quote:

> Is this a joke.

> > Hi !

> > I wish a hint/help from Clipper friends on subject.

> > Case :
> > Want to know how can we create a database for  words consist of,  say
> > ten characters - 3 lower case, 2 upper case, 3 numerics and 2 special

> > would there be.

> > Would  appreciate a quick/speedy routine.

> > Thanks a lot

> --
> -------------------------------------------------------------------
> Russell England
> Contract Software Services Ltd
> http://www.css2.com
> -------------------------------------------------------------------

you did not specify no duplicates so:
position
1 lower case (26)
2 lower case (26)
3 lower case (26)
4 upper case (26)
5 upper case (26)
6 numeric (10)
7 numeric (10)
8 numeric (10)
9 special (32)
10 special (32)
therefor you will have 26x26x26x26x26x10x10x10x32x32=3.082 X 10**26

Fri, 23 Jun 2000 03:00:00 GMT
Probability Data Base - Part 4

Just multiplying out the counts will work if you don't mix and match i.e.
the first four bytes are always lower case.  But since aaaaAA isn't the
same as aaAaAa there end up being more combinations than shown below:

Michael Ware
TAB Computer Systems, Inc.

Quote:
> > -------------------------------------------------------------------
> you did not specify no duplicates so:
> position
>  1 lower case (26)  >  2 lower case (26) >  3 lower case (26) >  4 upper
case (26)
>  5 upper case (26) >  6 numeric (10) >  7 numeric (10) >  8 numeric (10)
>  9 special (32) > 10 special (32)

> therefor you will have 26x26x26x26x26x10x10x10x32x32=3.082 X 10**26

Sat, 24 Jun 2000 03:00:00 GMT

 Page 1 of 1 [ 4 post ]

Relevant Pages