All possible combos? (+rep)

Dark_Phoenix

New Member
Reaction score
3
I'm trying to find all possible combos for a group of four letters (F, W, E, and A) into a group of three for my game. Mathematically, it should be 24, I think, but I only got 20. The order does not matter and the letters can be reused...

Here's the list of letter combos I have:

FFF
FFW
FFE
FFA
FWW
FWE
FWA
FEE
FEA
FAA
WWW
WWE
WWA
WEE
WEA
WAA
EEE
EEA
EAA
AAA
 

Romek

Super Moderator
Reaction score
963
A logical way to list them would be:

FFF
FFW
FFE
FFA

FWF
FWW
FWE
FWA

FAF
FAW
FAE
FAA

Etc.
Hopefully you get the idea. You seem to be missing a few from there. (FWF for example)
 

Bjerrum

New Member
Reaction score
12
F W A E:

FFF
FFA
FFE
FFW

WWF
WWW
WWA
WWE

AAF
AAW
AAA
AAE

EEF
EEW
EEA
EEE

FWA
WAE
AEF
EFW

Hmm i think your formula is wrong... As long as order is random i guess there isn't more then 20 possible combinations :)

Regards
Bjerrum
 

FireMaster

New Member
Reaction score
0
Just do the way that Romek said and delete some.

Ok, I tried and it is 20. I know it shoul be (4*3*2), but...
 

Romek

Super Moderator
Reaction score
963
I can't believe I'm writing all these out.. :rolleyes:

Code:
FFF
FFW
FFE
FFA

FWF
FWW
FWE
FWA

FEF
FEW
FEE
FEA

FAF
FAW
FAE
FAA

WFF
WFW
WFE
WFA

WWF
WWW
WWE
WWA

WEF
WEW
WEE
WEA

WAF
WAW
WAE
WAA

EFF
EFW
EFE
EFA

EWF
EWW
EWE
EWA

EEF
EEW
EEE
EEA

EAF
EAW
EAE
EAA

AFF
AFW
AFE
AFA

AWF
AWW
AWE
AWA

AEF
AEW
AEE
AEA

AAF
AAW
AAE
AAA

In case you care: 4^3 possible combinations.
 

Bjerrum

New Member
Reaction score
12
hmmm romek :D
The order does not matter and the letters can be reused...
i think you missed what he ment.

FWF and WFF is the same to him (i think)

if you look at his combinations he dosen't do something like that a single time :)

Regards
Bjerrum
 

I_RULE_YOU

New Member
Reaction score
34
Lol, is this really World Editor help :D

I figured it would be 4 squared, but I guess thats not true.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top