Math Problem
- Dystopia
- Advanced Member
- Posts: 2317
- Joined: Thu Jan 04, 2007 8:37 pm
- Quick Reply: Yes
- Location: Off Topic
Math Problem
Okay, lets say theres a password.
Lets say the password has 9 characters, and its all contains letters of the alphabet.
Keep into consideration that it could be the same character repeated over and over, for every alphabet.
So like.
* * * * * * * * *
9 characrers.
abcdefghijklmnopqrstuvwxyz
26 characters
If you were to go through ever possibility how many will you have?
I have no clue, I think its 9^26 but Im not exactly sure. That would be 6461081889226673298932241.
If each character had a 1/26 chance of being right, so that is 9^26, that should be right.
What do you guys think?
Lets say the password has 9 characters, and its all contains letters of the alphabet.
Keep into consideration that it could be the same character repeated over and over, for every alphabet.
So like.
* * * * * * * * *
9 characrers.
abcdefghijklmnopqrstuvwxyz
26 characters
If you were to go through ever possibility how many will you have?
I have no clue, I think its 9^26 but Im not exactly sure. That would be 6461081889226673298932241.
If each character had a 1/26 chance of being right, so that is 9^26, that should be right.
What do you guys think?

- Swindler
- Forum God
- Posts: 11256
- Joined: Tue Apr 10, 2007 7:49 am
- Quick Reply: Yes
- Location: Pimpas Paradise.
Re: Math Problem
dont ask me^^ i suck at math
-
bLuE_fLaMe
- Active Member
- Posts: 629
- Joined: Thu Apr 26, 2007 4:18 pm
- Quick Reply: Yes
- Location: Off Topic
Re: Math Problem
ask on yahoo answers, some nerd will know it
<<banned from SRF for rules violations. -SG>>
Re: Math Problem
26^9
- Stress
- Ex-Staff
- Posts: 4599
- Joined: Thu Oct 26, 2006 7:42 am
- Quick Reply: Yes
- Location: Studying Computer Science, Vienna
Re: Math Problem
You say the letter can be repeated... As far as my low level Algebra can tell the answer is:
29! / (29-6)! = 342014400
Please, can anyone confirm it is so?

29! / (29-6)! = 342014400
Please, can anyone confirm it is so?
Carry your cross, and I'll carry mine.
- Dystopia
- Advanced Member
- Posts: 2317
- Joined: Thu Jan 04, 2007 8:37 pm
- Quick Reply: Yes
- Location: Off Topic
Re: Math Problem
Stress wrote:You say the letter can be repeated... As far as my low level Algebra can tell the answer is:
29! / (29-6)! = 342014400
Please, can anyone confirm it is so?
Whoa! you got a much lower number than I did

Re: Math Problem
My first thought says it's 26^9. Pretty sure that's correct.
<<banned from SRF for rules violations. -SG>>
Re: Math Problem
I tried it with a lower amount of characters and characters in password.
2 letter PW
3 different letters possible
aa
bb
cc
ab
ba
ac
bc
ca
cb
8 options
2^3 = 8

Tried it with 3 and 3 and typed out 27 different answers, couldn't think of any more.
2 letter PW
3 different letters possible
aa
bb
cc
ab
ba
ac
bc
ca
cb
8 options
2^3 = 8
Tried it with 3 and 3 and typed out 27 different answers, couldn't think of any more.
- Dystopia
- Advanced Member
- Posts: 2317
- Joined: Thu Jan 04, 2007 8:37 pm
- Quick Reply: Yes
- Location: Off Topic
Re: Math Problem
Azilius wrote:I tried it with a lower amount of characters and characters in password.
2 letter PW
3 different letters possible
aa
bb
cc
ab
ba
ac
bc
ca
cb
8 options
2^3 = 8
Tried it with 3 and 3 and typed out 27 different answers, couldn't think of any more.
that makes sense
but with more numbers it should go up right
i mean
aaaaaaaaa
bbbbbbbbb
ccccccccc
....
zzzzzzzzz
abbbbbbbb
acccccccc
...
azzzzzzzz
baaaaaaaa
bbbbbbbbb <- repeated
bcccccccc
.... and it goes on to like
zzzzzzzza
zzzzzzzzb
you know?
o.0?

Re: Math Problem
To be honest I have no idea
But if it works with lower numbers I don't see why it wouldn't work with the whole alphabet.
But if it works with lower numbers I don't see why it wouldn't work with the whole alphabet.
Re: Math Problem
You have 26 possibilities for the first blank.
You have 26 possibilities for the second blank for each of the possibilities on the first blank. For example, if you chose 'a' for the first blank, you have 26 letters for the second blank, if you chose 'b' you have a separate 26 letters from if you chose 'a'. So we have 26x26 so far, or 26^2.
Stress' factorials are for if you have a limited amount of space for certain items (non-distinct). e.g. 4 spots on a bookshelf for 6 books. 6!/2! or 6!/(6-4)! Distinct would be 6!/4!2! Would not work here because we do replacements, if we couldn't repeat letters then factorials would work.
You have 26 possibilities for the second blank for each of the possibilities on the first blank. For example, if you chose 'a' for the first blank, you have 26 letters for the second blank, if you chose 'b' you have a separate 26 letters from if you chose 'a'. So we have 26x26 so far, or 26^2.
Stress' factorials are for if you have a limited amount of space for certain items (non-distinct). e.g. 4 spots on a bookshelf for 6 books. 6!/2! or 6!/(6-4)! Distinct would be 6!/4!2! Would not work here because we do replacements, if we couldn't repeat letters then factorials would work.
Re: Math Problem
SM-Count wrote:You have 26 possibilities for the first blank.
You have 26 possibilities for the second blank for each of the possibilities on the first blank. For example, if you chose 'a' for the first blank, you have 26 letters for the second blank, if you chose 'b' you have a separate 26 letters from if you chose 'a'. So we have 26x26 so far, or 26^2.
Stress' factorials are for if you have a limited amount of space for certain items (non-distinct). e.g. 4 spots on a bookshelf for 6 books. 6!/2! or 6!/(6-4)! Distinct would be 6!/4!2! Would not work here because we do replacements, if we couldn't repeat letters then factorials would work.
We learned them as permutations versus combinations, but Shadowman is completely right. It'd be 26 to the 9th power.
- Trice
- Ex-Staff
- Posts: 2364
- Joined: Mon Jun 11, 2007 3:48 pm
- Location: Everywhere. All the Time... But more specifically, England
Re: Math Problem
SM-Count wrote:You have 26 possibilities for the first blank.
You have 26 possibilities for the second blank for each of the possibilities on the first blank. For example, if you chose 'a' for the first blank, you have 26 letters for the second blank, if you chose 'b' you have a separate 26 letters from if you chose 'a'. So we have 26x26 so far, or 26^2.
Stress' factorials are for if you have a limited amount of space for certain items (non-distinct). e.g. 4 spots on a bookshelf for 6 books. 6!/2! or 6!/(6-4)! Distinct would be 6!/4!2! Would not work here because we do replacements, if we couldn't repeat letters then factorials would work.
well explained.
Powers = When you are able to do repeats
Factorials = When you arent able to do repeats
So the answer is 26^9. :]
My stories + songs
Story Search: [Story] author Trice
Parody Search: [Parody] author Trice


Ty cin
Sarcasm makes you more attractive to the opposite sex
Story Search: [Story] author Trice
Parody Search: [Parody] author Trice


Ty cin
Sarcasm makes you more attractive to the opposite sex
- LillDev!l
- Addicted Member
- Posts: 2587
- Joined: Sun Aug 19, 2007 9:38 pm
- Quick Reply: Yes
- Location: OTL&OG
Re: Math Problem
uhm isnt it 9^26?
26^2 would be like a 26 letter password with a choice of "A" or "B" all the time.
9^26 would be like 9 letter password with 26 possebility's for every time ?
i dont know
forgot about the topic a bit
26 nCr 9 also sounds good to me ? since its (what we want) above (total) and since we want a 9 letter password and have 26 letters that would do ?
arg screw it >.< its weekend wont go into it
Good luck on solving it lol^^
P.S. im so bad at explaining things like this in english >.<
26^2 would be like a 26 letter password with a choice of "A" or "B" all the time.
9^26 would be like 9 letter password with 26 possebility's for every time ?
i dont know
26 nCr 9 also sounds good to me ? since its (what we want) above (total) and since we want a 9 letter password and have 26 letters that would do ?
arg screw it >.< its weekend wont go into it
Good luck on solving it lol^^
P.S. im so bad at explaining things like this in english >.<

- NuclearSilo
- Forum God
- Posts: 8834
- Joined: Mon Aug 21, 2006 12:00 pm
- Quick Reply: Yes
- Location: Age of Wushu
- Inuyasha584
- Frequent Member
- Posts: 1491
- Joined: Fri Jun 22, 2007 3:22 am
- Quick Reply: Yes
- Location: Off Topic
- Contact:
- NuclearSilo
- Forum God
- Posts: 8834
- Joined: Mon Aug 21, 2006 12:00 pm
- Quick Reply: Yes
- Location: Age of Wushu
- Inuyasha584
- Frequent Member
- Posts: 1491
- Joined: Fri Jun 22, 2007 3:22 am
- Quick Reply: Yes
- Location: Off Topic
- Contact:
- salmissra
- Frequent Member
- Posts: 1487
- Joined: Fri Nov 16, 2007 3:21 pm
- Quick Reply: Yes
- Location: Azteca
Re: Math Problem
its definitely 26^9 and not 9^26. since there is a 1/26 chance for every letter so for each spot its 1^26 =26...then the second spot is 2^26..so forth...

Kali -- 51 wizard/cleric
Amumu -- 24 bard/cleric
- No reply
- Common Member
- Posts: 155
- Joined: Mon Sep 10, 2007 3:46 pm
- Quick Reply: Yes
- Location: Off Topic
Re: Math Problem
As we all agree, and the "problem" itself is pretty simple, let's make it a bit more complex:
Let's say you are going to make a password consisting of 3 digits, and 6 letters
- the password has got to start with a letter, and end with a number.
- every letter can only be used once.
- You do of course have caps lock on your keyboard, and is therefor able of using both small an capital letters
- your password should start with a capital letter
- the code cannot contain both the number 8 and 3.
The question is: how many combinations can you
possibly make?
Edit: we're talking about the English alphabet, just to make that clear.
Let's say you are going to make a password consisting of 3 digits, and 6 letters
- the password has got to start with a letter, and end with a number.
- every letter can only be used once.
- You do of course have caps lock on your keyboard, and is therefor able of using both small an capital letters
- your password should start with a capital letter
- the code cannot contain both the number 8 and 3.
The question is: how many combinations can you
possibly make?
Edit: we're talking about the English alphabet, just to make that clear.
- NuclearSilo
- Forum God
- Posts: 8834
- Joined: Mon Aug 21, 2006 12:00 pm
- Quick Reply: Yes
- Location: Age of Wushu
Re: Math Problem
No reply wrote:As we all agree, and the "problem" itself is pretty simple, let's make it a bit more complex:
Let's say you are going to make a password consisting of 3 digits, and 6 letters
- the password has got to start with a letter, and end with a number.
- every letter can only be used once.
- You do of course have caps lock on your keyboard, and is therefor able of using both small an capital letters
- your password should start with a capital letter
- the code cannot contain both the number 8 and 3.
The question is: how many combinations can you
possibly make?
Edit: we're talking about the English alphabet, just to make that clear.
Only Einstein knows the answer
Playing Age of Wushu, dota IMBA
-
Simplifique
- Valued Member
- Posts: 372
- Joined: Thu Sep 27, 2007 8:50 pm
- Quick Reply: Yes
- Location: off topic
Re: Math Problem
No reply wrote:As we all agree, and the "problem" itself is pretty simple, let's make it a bit more complex:
Let's say you are going to make a password consisting of 3 digits, and 6 letters
- the password has got to start with a letter, and end with a number.
- every letter can only be used once.
- You do of course have caps lock on your keyboard, and is therefor able of using both small an capital letters
- your password should start with a capital letter
- the code cannot contain both the number 8 and 3.
The question is: how many combinations can you
possibly make?
Edit: we're talking about the English alphabet, just to make that clear.
8.9^13 (you broke my calculator)
<<banned from SRF for remaking a banned account. -SG>>
- No reply
- Common Member
- Posts: 155
- Joined: Mon Sep 10, 2007 3:46 pm
- Quick Reply: Yes
- Location: Off Topic
Re: Math Problem
8.9^13 (you broke my calculator)
First of all, good morning to whoever lives in a close by timezone. About your answer, Simplifique it is pretty close to what I got : 1,53... * 10^14.
Gonna go trough it once more to check if I'm correct as I was really tired when I made this task in the first place.
Edit: buy a new calculator
Edit 2: it wasn't as close as I thought.
- NuclearSilo
- Forum God
- Posts: 8834
- Joined: Mon Aug 21, 2006 12:00 pm
- Quick Reply: Yes
- Location: Age of Wushu
- No reply
- Common Member
- Posts: 155
- Joined: Mon Sep 10, 2007 3:46 pm
- Quick Reply: Yes
- Location: Off Topic
Re: Math Problem
26*(52-1)*(51-1)*(50-1)*(49-1)*(48-1)*10*10*10
* ( 7!/5!/2!)
then you just subtract the number of codes which has both 8 and three in it.
* ( 7!/5!/2!)
then you just subtract the number of codes which has both 8 and three in it.
Re: Math Problem
No reply wrote:26*(52-1)*(51-1)*(50-1)*(49-1)*(48-1)*10*10*10
* ( 7!/5!/2!)
then you just subtract the number of codes which has both 8 and three in it.
Wouldn't it be 26*(50...)and so on? Since you have to remove both the capital letter & the lower case letter from the first pick.
-
Simplifique
- Valued Member
- Posts: 372
- Joined: Thu Sep 27, 2007 8:50 pm
- Quick Reply: Yes
- Location: off topic
Re: Math Problem
SM-Count wrote:No reply wrote:26*(52-1)*(51-1)*(50-1)*(49-1)*(48-1)*10*10*10
* ( 7!/5!/2!)
then you just subtract the number of codes which has both 8 and three in it.
Wouldn't it be 26*(50...)and so on? Since you have to remove both the capital letter & the lower case letter from the first pick.
Its too early in the morning for me to think. Nvm.
<<banned from SRF for remaking a banned account. -SG>>
- No reply
- Common Member
- Posts: 155
- Joined: Mon Sep 10, 2007 3:46 pm
- Quick Reply: Yes
- Location: Off Topic
Re: Math Problem
Wouldn't it be 26*(50...)and so on? Since you have to remove both the capital letter & the lower case letter from the first pick.
26-1 capital letters are still available, plus 26 lowercase letters, which equals 51.
Re: Math Problem
No reply wrote:Wouldn't it be 26*(50...)and so on? Since you have to remove both the capital letter & the lower case letter from the first pick.
26-1 capital letters are still available, plus 26 lowercase letters, which equals 51.
'A' & 'a' are the same letter.




