# What four-letter sets are possible using the letters A, B, C, and D?

*With* repetitions allowed, that is. I can't think of all of them. I'm a math putz, I know. Help, please?

Thank you!!

### 3 Answers

- Jeff AaronLv 710 years agoFavorite Answer
AAAA

AAAB

AAAC

AAAD

AABA

AABB

AABC

AABD

AACA

AACB

AACC

AACD

AADA

AADB

AADC

AADD

ABAA

ABAB

ABAC

ABAD

ABBA

ABBB

ABBC

ABBD

ABCA

ABCB

ABCC

ABCD

ABDA

ABDB

ABDC

ABDD

ACAA

ACAB

ACAC

ACAD

ACBA

ACBB

ACBC

ACBD

ACCA

ACCB

ACCC

ACCD

ACDA

ACDB

ACDC

ACDD

ADAA

ADAB

ADAC

ADAD

ADBA

ADBB

ADBC

ADBD

ADCA

ADCB

ADCC

ADCD

ADDA

ADDB

ADDC

ADDD

BAAA

BAAB

BAAC

BAAD

BABA

BABB

BABC

BABD

BACA

BACB

BACC

BACD

BADA

BADB

BADC

BADD

BBAA

BBAB

BBAC

BBAD

BBBA

BBBB

BBBC

BBBD

BBCA

BBCB

BBCC

BBCD

BBDA

BBDB

BBDC

BBDD

BCAA

BCAB

BCAC

BCAD

BCBA

BCBB

BCBC

BCBD

BCCA

BCCB

BCCC

BCCD

BCDA

BCDB

BCDC

BCDD

BDAA

BDAB

BDAC

BDAD

BDBA

BDBB

BDBC

BDBD

BDCA

BDCB

BDCC

BDCD

BDDA

BDDB

BDDC

BDDD

CAAA

CAAB

CAAC

CAAD

CABA

CABB

CABC

CABD

CACA

CACB

CACC

CACD

CADA

CADB

CADC

CADD

CBAA

CBAB

CBAC

CBAD

CBBA

CBBB

CBBC

CBBD

CBCA

CBCB

CBCC

CBCD

CBDA

CBDB

CBDC

CBDD

CCAA

CCAB

CCAC

CCAD

CCBA

CCBB

CCBC

CCBD

CCCA

CCCB

CCCC

CCCD

CCDA

CCDB

CCDC

CCDD

CDAA

CDAB

CDAC

CDAD

CDBA

CDBB

CDBC

CDBD

CDCA

CDCB

CDCC

CDCD

CDDA

CDDB

CDDC

CDDD

DAAA

DAAB

DAAC

DAAD

DABA

DABB

DABC

DABD

DACA

DACB

DACC

DACD

DADA

DADB

DADC

DADD

DBAA

DBAB

DBAC

DBAD

DBBA

DBBB

DBBC

DBBD

DBCA

DBCB

DBCC

DBCD

DBDA

DBDB

DBDC

DBDD

DCAA

DCAB

DCAC

DCAD

DCBA

DCBB

DCBC

DCBD

DCCA

DCCB

DCCC

DCCD

DCDA

DCDB

DCDC

DCDD

DDAA

DDAB

DDAC

DDAD

DDBA

DDBB

DDBC

DDBD

DDCA

DDCB

DDCC

DDCD

DDDA

DDDB

DDDC

DDDD

Source(s): PERL command: perl -e "for $a (A,B,C,D) {for $b (A,B,C,D) {for $c (A,B,C,D) {for $d (A,B,C,D) {print \"$a$b$c$d\n\";}}}}"- Login to reply the answers

- ℂharlesLv 410 years ago
There are 256. I'm not listing them.

If you are desperate, Write

A

B

C

D

A

B

C

D (etc) in the first column (64 cycles of ABCD)

THEN in the second column, write

A

A

A

A

B

B

B

B

C

C

C

C

D

D

D

D

sixteen times of Ax4, Bx4 etc.

THEN

each letter 16 times (four times)

Then each letter 64 times, once each.

That will list them all.

- Login to reply the answers