How many permutations of this alphanumerical string are possible under these conditions?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-1
down vote

favorite












The string is in the format:



$N_1 N_2 L_1 L_2$



Under the following conditions:



$N_1$ and $N_2$ can be numbers 0-9, and $L_1$ and $L_2$ can be letters A-Z.



Initially, I thought it would just be $(99 x 26^2)-26=66,898$ but I have a feeling I'm missing something.



Thanks







share|cite|improve this question





















  • You are missing two things: the amount of possible numbers is 100 instead of 99 (maybe you forgot 00?) and if you don't want permutations of the string repeated, you should divide by two the number of combinations of letters (you don't want AB and BA at the same time as one is a permutation of the other)
    – M4g1ch
    Jul 24 at 14:18










  • You've just made me realise my question was wrong slightly - AB and BA is allowed. Because of how I was evaluating the permutations in my head I somehow reached the conclusion that there could be two instances of AA...ZZ etc. A bit silly really. Edited to remove the duplicates statement.
    – Phizzy
    Jul 24 at 14:25














up vote
-1
down vote

favorite












The string is in the format:



$N_1 N_2 L_1 L_2$



Under the following conditions:



$N_1$ and $N_2$ can be numbers 0-9, and $L_1$ and $L_2$ can be letters A-Z.



Initially, I thought it would just be $(99 x 26^2)-26=66,898$ but I have a feeling I'm missing something.



Thanks







share|cite|improve this question





















  • You are missing two things: the amount of possible numbers is 100 instead of 99 (maybe you forgot 00?) and if you don't want permutations of the string repeated, you should divide by two the number of combinations of letters (you don't want AB and BA at the same time as one is a permutation of the other)
    – M4g1ch
    Jul 24 at 14:18










  • You've just made me realise my question was wrong slightly - AB and BA is allowed. Because of how I was evaluating the permutations in my head I somehow reached the conclusion that there could be two instances of AA...ZZ etc. A bit silly really. Edited to remove the duplicates statement.
    – Phizzy
    Jul 24 at 14:25












up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











The string is in the format:



$N_1 N_2 L_1 L_2$



Under the following conditions:



$N_1$ and $N_2$ can be numbers 0-9, and $L_1$ and $L_2$ can be letters A-Z.



Initially, I thought it would just be $(99 x 26^2)-26=66,898$ but I have a feeling I'm missing something.



Thanks







share|cite|improve this question













The string is in the format:



$N_1 N_2 L_1 L_2$



Under the following conditions:



$N_1$ and $N_2$ can be numbers 0-9, and $L_1$ and $L_2$ can be letters A-Z.



Initially, I thought it would just be $(99 x 26^2)-26=66,898$ but I have a feeling I'm missing something.



Thanks









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited Jul 24 at 14:26
























asked Jul 24 at 13:41









Phizzy

1085




1085











  • You are missing two things: the amount of possible numbers is 100 instead of 99 (maybe you forgot 00?) and if you don't want permutations of the string repeated, you should divide by two the number of combinations of letters (you don't want AB and BA at the same time as one is a permutation of the other)
    – M4g1ch
    Jul 24 at 14:18










  • You've just made me realise my question was wrong slightly - AB and BA is allowed. Because of how I was evaluating the permutations in my head I somehow reached the conclusion that there could be two instances of AA...ZZ etc. A bit silly really. Edited to remove the duplicates statement.
    – Phizzy
    Jul 24 at 14:25
















  • You are missing two things: the amount of possible numbers is 100 instead of 99 (maybe you forgot 00?) and if you don't want permutations of the string repeated, you should divide by two the number of combinations of letters (you don't want AB and BA at the same time as one is a permutation of the other)
    – M4g1ch
    Jul 24 at 14:18










  • You've just made me realise my question was wrong slightly - AB and BA is allowed. Because of how I was evaluating the permutations in my head I somehow reached the conclusion that there could be two instances of AA...ZZ etc. A bit silly really. Edited to remove the duplicates statement.
    – Phizzy
    Jul 24 at 14:25















You are missing two things: the amount of possible numbers is 100 instead of 99 (maybe you forgot 00?) and if you don't want permutations of the string repeated, you should divide by two the number of combinations of letters (you don't want AB and BA at the same time as one is a permutation of the other)
– M4g1ch
Jul 24 at 14:18




You are missing two things: the amount of possible numbers is 100 instead of 99 (maybe you forgot 00?) and if you don't want permutations of the string repeated, you should divide by two the number of combinations of letters (you don't want AB and BA at the same time as one is a permutation of the other)
– M4g1ch
Jul 24 at 14:18












You've just made me realise my question was wrong slightly - AB and BA is allowed. Because of how I was evaluating the permutations in my head I somehow reached the conclusion that there could be two instances of AA...ZZ etc. A bit silly really. Edited to remove the duplicates statement.
– Phizzy
Jul 24 at 14:25




You've just made me realise my question was wrong slightly - AB and BA is allowed. Because of how I was evaluating the permutations in my head I somehow reached the conclusion that there could be two instances of AA...ZZ etc. A bit silly really. Edited to remove the duplicates statement.
– Phizzy
Jul 24 at 14:25










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










As the permutations of the resulting string should all be unique, then:



  • Numbers can be selected in $10cdot 9$ ways

  • Letters can be selected in $26cdot 25$ ways

Thus there are $10cdot 9cdot 26cdot 25 = 58500$ possible combinations.



EDIT



If there are no restrictions for permutations, then there are $10^2 26^2$ possible ways to construct the string.



There are 4 possibilities (in brackets is the number of unique permutations of the resulting string):



  • Numbers are equal, letters are different ($frac4!2! = 12$)

  • Numbers are equal, letters are equal ($frac4!2!2! = 6$)

  • Numbers are different, letters are equal($frac4!2! = 12$)

  • Numbers are different, letters are different($4! = 24$)





share|cite|improve this answer























  • "Duplicate letters are not allowed". That doesn't mean duplicate numbers aren't allowed
    – M4g1ch
    Jul 24 at 14:09










  • The question stated, that all permutations of the resulting string should be unique, thus the strings 00_ , 11 , ..., 99 _ are also not allowed.
    – Jaroslaw Matlak
    Jul 24 at 14:59










  • Just to aid in my understanding, assuming that the condition about the duplicates still applied, why would 00,11...99 be excluded? My statement was intended to mean that permutations of the entire string must be unique, therefore, AFAIK, 00AB and 00YG, for example, would be permitted.
    – Phizzy
    Jul 24 at 15:40











  • @Phizzy Yup. The permutations of string abcd are, amongs others: abcd, bacd. If we say, that a=b=1, c=A, d=B (11AB), then these permutations are not unique.
    – Jaroslaw Matlak
    Jul 25 at 7:30











Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2861343%2fhow-many-permutations-of-this-alphanumerical-string-are-possible-under-these-con%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










As the permutations of the resulting string should all be unique, then:



  • Numbers can be selected in $10cdot 9$ ways

  • Letters can be selected in $26cdot 25$ ways

Thus there are $10cdot 9cdot 26cdot 25 = 58500$ possible combinations.



EDIT



If there are no restrictions for permutations, then there are $10^2 26^2$ possible ways to construct the string.



There are 4 possibilities (in brackets is the number of unique permutations of the resulting string):



  • Numbers are equal, letters are different ($frac4!2! = 12$)

  • Numbers are equal, letters are equal ($frac4!2!2! = 6$)

  • Numbers are different, letters are equal($frac4!2! = 12$)

  • Numbers are different, letters are different($4! = 24$)





share|cite|improve this answer























  • "Duplicate letters are not allowed". That doesn't mean duplicate numbers aren't allowed
    – M4g1ch
    Jul 24 at 14:09










  • The question stated, that all permutations of the resulting string should be unique, thus the strings 00_ , 11 , ..., 99 _ are also not allowed.
    – Jaroslaw Matlak
    Jul 24 at 14:59










  • Just to aid in my understanding, assuming that the condition about the duplicates still applied, why would 00,11...99 be excluded? My statement was intended to mean that permutations of the entire string must be unique, therefore, AFAIK, 00AB and 00YG, for example, would be permitted.
    – Phizzy
    Jul 24 at 15:40











  • @Phizzy Yup. The permutations of string abcd are, amongs others: abcd, bacd. If we say, that a=b=1, c=A, d=B (11AB), then these permutations are not unique.
    – Jaroslaw Matlak
    Jul 25 at 7:30















up vote
0
down vote



accepted










As the permutations of the resulting string should all be unique, then:



  • Numbers can be selected in $10cdot 9$ ways

  • Letters can be selected in $26cdot 25$ ways

Thus there are $10cdot 9cdot 26cdot 25 = 58500$ possible combinations.



EDIT



If there are no restrictions for permutations, then there are $10^2 26^2$ possible ways to construct the string.



There are 4 possibilities (in brackets is the number of unique permutations of the resulting string):



  • Numbers are equal, letters are different ($frac4!2! = 12$)

  • Numbers are equal, letters are equal ($frac4!2!2! = 6$)

  • Numbers are different, letters are equal($frac4!2! = 12$)

  • Numbers are different, letters are different($4! = 24$)





share|cite|improve this answer























  • "Duplicate letters are not allowed". That doesn't mean duplicate numbers aren't allowed
    – M4g1ch
    Jul 24 at 14:09










  • The question stated, that all permutations of the resulting string should be unique, thus the strings 00_ , 11 , ..., 99 _ are also not allowed.
    – Jaroslaw Matlak
    Jul 24 at 14:59










  • Just to aid in my understanding, assuming that the condition about the duplicates still applied, why would 00,11...99 be excluded? My statement was intended to mean that permutations of the entire string must be unique, therefore, AFAIK, 00AB and 00YG, for example, would be permitted.
    – Phizzy
    Jul 24 at 15:40











  • @Phizzy Yup. The permutations of string abcd are, amongs others: abcd, bacd. If we say, that a=b=1, c=A, d=B (11AB), then these permutations are not unique.
    – Jaroslaw Matlak
    Jul 25 at 7:30













up vote
0
down vote



accepted







up vote
0
down vote



accepted






As the permutations of the resulting string should all be unique, then:



  • Numbers can be selected in $10cdot 9$ ways

  • Letters can be selected in $26cdot 25$ ways

Thus there are $10cdot 9cdot 26cdot 25 = 58500$ possible combinations.



EDIT



If there are no restrictions for permutations, then there are $10^2 26^2$ possible ways to construct the string.



There are 4 possibilities (in brackets is the number of unique permutations of the resulting string):



  • Numbers are equal, letters are different ($frac4!2! = 12$)

  • Numbers are equal, letters are equal ($frac4!2!2! = 6$)

  • Numbers are different, letters are equal($frac4!2! = 12$)

  • Numbers are different, letters are different($4! = 24$)





share|cite|improve this answer















As the permutations of the resulting string should all be unique, then:



  • Numbers can be selected in $10cdot 9$ ways

  • Letters can be selected in $26cdot 25$ ways

Thus there are $10cdot 9cdot 26cdot 25 = 58500$ possible combinations.



EDIT



If there are no restrictions for permutations, then there are $10^2 26^2$ possible ways to construct the string.



There are 4 possibilities (in brackets is the number of unique permutations of the resulting string):



  • Numbers are equal, letters are different ($frac4!2! = 12$)

  • Numbers are equal, letters are equal ($frac4!2!2! = 6$)

  • Numbers are different, letters are equal($frac4!2! = 12$)

  • Numbers are different, letters are different($4! = 24$)






share|cite|improve this answer















share|cite|improve this answer



share|cite|improve this answer








edited Jul 25 at 7:41


























answered Jul 24 at 14:03









Jaroslaw Matlak

3,880830




3,880830











  • "Duplicate letters are not allowed". That doesn't mean duplicate numbers aren't allowed
    – M4g1ch
    Jul 24 at 14:09










  • The question stated, that all permutations of the resulting string should be unique, thus the strings 00_ , 11 , ..., 99 _ are also not allowed.
    – Jaroslaw Matlak
    Jul 24 at 14:59










  • Just to aid in my understanding, assuming that the condition about the duplicates still applied, why would 00,11...99 be excluded? My statement was intended to mean that permutations of the entire string must be unique, therefore, AFAIK, 00AB and 00YG, for example, would be permitted.
    – Phizzy
    Jul 24 at 15:40











  • @Phizzy Yup. The permutations of string abcd are, amongs others: abcd, bacd. If we say, that a=b=1, c=A, d=B (11AB), then these permutations are not unique.
    – Jaroslaw Matlak
    Jul 25 at 7:30

















  • "Duplicate letters are not allowed". That doesn't mean duplicate numbers aren't allowed
    – M4g1ch
    Jul 24 at 14:09










  • The question stated, that all permutations of the resulting string should be unique, thus the strings 00_ , 11 , ..., 99 _ are also not allowed.
    – Jaroslaw Matlak
    Jul 24 at 14:59










  • Just to aid in my understanding, assuming that the condition about the duplicates still applied, why would 00,11...99 be excluded? My statement was intended to mean that permutations of the entire string must be unique, therefore, AFAIK, 00AB and 00YG, for example, would be permitted.
    – Phizzy
    Jul 24 at 15:40











  • @Phizzy Yup. The permutations of string abcd are, amongs others: abcd, bacd. If we say, that a=b=1, c=A, d=B (11AB), then these permutations are not unique.
    – Jaroslaw Matlak
    Jul 25 at 7:30
















"Duplicate letters are not allowed". That doesn't mean duplicate numbers aren't allowed
– M4g1ch
Jul 24 at 14:09




"Duplicate letters are not allowed". That doesn't mean duplicate numbers aren't allowed
– M4g1ch
Jul 24 at 14:09












The question stated, that all permutations of the resulting string should be unique, thus the strings 00_ , 11 , ..., 99 _ are also not allowed.
– Jaroslaw Matlak
Jul 24 at 14:59




The question stated, that all permutations of the resulting string should be unique, thus the strings 00_ , 11 , ..., 99 _ are also not allowed.
– Jaroslaw Matlak
Jul 24 at 14:59












Just to aid in my understanding, assuming that the condition about the duplicates still applied, why would 00,11...99 be excluded? My statement was intended to mean that permutations of the entire string must be unique, therefore, AFAIK, 00AB and 00YG, for example, would be permitted.
– Phizzy
Jul 24 at 15:40





Just to aid in my understanding, assuming that the condition about the duplicates still applied, why would 00,11...99 be excluded? My statement was intended to mean that permutations of the entire string must be unique, therefore, AFAIK, 00AB and 00YG, for example, would be permitted.
– Phizzy
Jul 24 at 15:40













@Phizzy Yup. The permutations of string abcd are, amongs others: abcd, bacd. If we say, that a=b=1, c=A, d=B (11AB), then these permutations are not unique.
– Jaroslaw Matlak
Jul 25 at 7:30





@Phizzy Yup. The permutations of string abcd are, amongs others: abcd, bacd. If we say, that a=b=1, c=A, d=B (11AB), then these permutations are not unique.
– Jaroslaw Matlak
Jul 25 at 7:30













 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2861343%2fhow-many-permutations-of-this-alphanumerical-string-are-possible-under-these-con%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What is the equation of a 3D cone with generalised tilt?

Color the edges and diagonals of a regular polygon

Relationship between determinant of matrix and determinant of adjoint?