Welcome Guest
You last visited April 23, 2017, 7:45 am
All times shown are
Eastern Time (GMT-5:00)

# Combination Software

Topic closed. 7 replies. Last post 6 years ago by CarliG.

 Page 1 of 1
FL
United States
Member #93841
July 8, 2010
576 Posts
Offline
 Posted: September 27, 2011, 11:36 pm - IP Logged

Does anyone have a software that can create every other combination/permutation of a given number?

Example

I give the software 1234 and it will show me all 24 combinations for this number

I found something online at <snip> but it only does one combo at a time.  I'm looking for something that can do a group of different numbers.

If I didn't explain it correctly let me know....

I am thankful for any help or assistance

This post has been automatically changed by the Lottery Post computer system to remove inappropriate content and/or spam.

"It's evolve or die, really, you have to evolve, you have to move on otherwise it just becomes stagnant."

Dump Water Florida
United States
Member #380
June 5, 2002
3132 Posts
Offline
 Posted: September 28, 2011, 3:35 am - IP Logged

Does anyone have a software that can create every other combination/permutation of a given number?

Example

I give the software 1234 and it will show me all 24 combinations for this number

I found something online at <snip> but it only does one combo at a time.  I'm looking for something that can do a group of different numbers.

If I didn't explain it correctly let me know....

I am thankful for any help or assistance

This post has been automatically changed by the Lottery Post computer system to remove inappropriate content and/or spam.

The Maybell Quik Wheeler will take digits 0-9 and make all the box or straight combinations.  If you click on 1,2,3,4 and exclude doubles quads and triples it will return . . .

1: 1234
2: 1243
3: 1324
4: 1342
5: 1423
6: 1432
7: 2134
8: 2143
9: 2314
10: 2341
11: 2413
12: 2431
13: 3124
14: 3142
15: 3214
16: 3241
17: 3412
18: 3421
19: 4123
20: 4132
21: 4213
22: 4231
23: 4312
24: 4321

with or without the count before the number option.  You can't enter 1,2,3,4 and 2,3,4,5 at the same time, but you can enter 1,2,3,4,5 which is pretty much the same thing.

The Maybell Quik Wheeler comes with the Lotto-Logix book and is also available free on the Lotto-Logix site on the software and wheeling resources pages.

BobP

Florida
United States
Member #66575
October 30, 2008
3549 Posts
Offline
 Posted: September 28, 2011, 3:59 am - IP Logged

Here is a macro but again only does one combo at a time. So not sure it will help you , but here it is and it does work for me.

Dim CurrentRow

Sub GetString()

Dim InString As String

InString = InputBox("Enter text to permute:")

If Len(InString) < 2 Then Exit Sub

If Len(InString) >= 8 Then

MsgBox "Too many permutations!"

Exit Sub

Else

ActiveSheet.Columns(1).Clear

CurrentRow = 1

Call GetPermutation("", InString)

End If

End Sub

Sub GetPermutation(x As String, y As String)

'   The source of this algorithm is unknown

Dim i As Integer, j As Integer

j = Len(y)

If j < 2 Then

Cells(CurrentRow, 1) = x & y

CurrentRow = CurrentRow + 1

Else

For i = 1 To j

Call GetPermutation(x + Mid(y, i, 1), _

Left(y, i - 1) + Right(y, j - i))

Next

End If

End Sub

Florida
United States
Member #66575
October 30, 2008
3549 Posts
Offline
 Posted: September 28, 2011, 5:00 am - IP Logged

Heres some Excel Formula you would need to alter as needed and finish the rest . Put combo's in column A then formula's across in columns not down in rows or at least thats the way I do it.  I just did a few so you could see

I know your good with excel, so Im guessing this probably isnt what you want either

you can copy down as many rows as you want

but I tried lol

=MID(A1,1,1) & MID(A1,2,1) & MID(A1,3,1) & MID(A1,4,1)             =MID(A1,1,1) & MID(A1,2,1) & MID(A1,4,1) & MID(A1,3,1)
=MID(A1,1,1) & MID(A1,3,1) & MID(A1,2,1) & MID(A1,4,1)
=MID(A1,1,1) & MID(A1,3,1) & MID(A1,4,1) & MID(A1,2,1)
=MID(A1,1,1) & MID(A1,4,1) & MID(A1,2,1) & MID(A1,3,1)
=MID(A1,1,1) & MID(A1,4,1) & MID(A1,3,1) & MID(A1,2,1)

New Jersey
United States
Member #17843
June 28, 2005
55865 Posts
Online
 Posted: September 28, 2011, 7:01 am - IP Logged

Does anyone have a software that can create every other combination/permutation of a given number?

Example

I give the software 1234 and it will show me all 24 combinations for this number

I found something online at <snip> but it only does one combo at a time.  I'm looking for something that can do a group of different numbers.

If I didn't explain it correctly let me know....

I am thankful for any help or assistance

This post has been automatically changed by the Lottery Post computer system to remove inappropriate content and/or spam.

Maybe these Charts will help:

A mind once stretched by a new idea never returns to its original dimensions!

New Jersey
United States
Member #17843
June 28, 2005
55865 Posts
Online
 Posted: September 28, 2011, 7:04 am - IP Logged

Here is a macro but again only does one combo at a time. So not sure it will help you , but here it is and it does work for me.

Dim CurrentRow

Sub GetString()

Dim InString As String

InString = InputBox("Enter text to permute:")

If Len(InString) < 2 Then Exit Sub

If Len(InString) >= 8 Then

MsgBox "Too many permutations!"

Exit Sub

Else

ActiveSheet.Columns(1).Clear

CurrentRow = 1

Call GetPermutation("", InString)

End If

End Sub

Sub GetPermutation(x As String, y As String)

'   The source of this algorithm is unknown

Dim i As Integer, j As Integer

j = Len(y)

If j < 2 Then

Cells(CurrentRow, 1) = x & y

CurrentRow = CurrentRow + 1

Else

For i = 1 To j

Call GetPermutation(x + Mid(y, i, 1), _

Left(y, i - 1) + Right(y, j - i))

Next

End If

End Sub

Check this one out:

A mind once stretched by a new idea never returns to its original dimensions!

FL
United States
Member #93841
July 8, 2010
576 Posts
Offline
 Posted: September 28, 2011, 9:41 am - IP Logged

Thanks to everyone for responding!!!

I believe the last one Raven62 posted from ozgrid should do the job...I can't try it until later though.

I will keep you guys posted.

Thanks again to everyone for posting because if none of this works, I got an idea on how to do it based on everyone's responce.

"It's evolve or die, really, you have to evolve, you have to move on otherwise it just becomes stagnant."

Florida
United States
Member #66575
October 30, 2008
3549 Posts
Offline
 Posted: September 28, 2011, 12:05 pm - IP Logged

Wow Thanks Raven

I see this one is also by Myrna Lawson but seems longer

Gonna check this one out

CG

 Page 1 of 1