Silkroad Online Forums

A community forum for the free online game Silkroad Online. Discuss Silkroad Online, read up on guides, and build your character and skills.

Faq Search Members Chat  Register Profile Login

All times are UTC




Post new topic Reply to topic  [ 42 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Math Problem
PostPosted: Sun Feb 17, 2008 7:51 pm 
Advanced Member
User avatar
Offline

Joined: Jan 2007
Posts: 2317
Location:
Off Topic
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?

_________________
Image


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 7:52 pm 
Forum God
User avatar
Offline

Joined: Apr 2007
Posts: 11256
Location: Pimpas Paradise.
dont ask me^^ i suck at math


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 7:55 pm 
Banned User
Offline

Joined: Apr 2007
Posts: 629
Location:
Off Topic
ask on yahoo answers, some nerd will know it

_________________
<<banned from SRF for rules violations. -SG>>


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 7:55 pm 
Ex-Staff
User avatar
Offline

Joined: Jan 2008
Posts: 2761
Location: /wave
26^9


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 7:58 pm 
Ex-Staff
User avatar
Offline

Joined: Oct 2006
Posts: 4599
Location: Studying Computer Science, Vienna
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?
:)

_________________
Carry your cross, and I'll carry mine.


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 8:00 pm 
Advanced Member
User avatar
Offline

Joined: Jan 2007
Posts: 2317
Location:
Off Topic
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

_________________
Image


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 8:02 pm 
Banned User
Offline

Joined: Apr 2006
Posts: 3216
Location: wat
My first thought says it's 26^9. Pretty sure that's correct.

_________________
<<banned from SRF for rules violations. -SG>>


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 8:02 pm 
Senior Member
User avatar
Offline

Joined: Oct 2006
Posts: 4236
Location: CS:GO
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
:D

Tried it with 3 and 3 and typed out 27 different answers, couldn't think of any more.

_________________
ImageCrumpets for PresImage


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 8:12 pm 
Advanced Member
User avatar
Offline

Joined: Jan 2007
Posts: 2317
Location:
Off Topic
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
:D

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?

_________________
Image


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 8:16 pm 
Senior Member
User avatar
Offline

Joined: Oct 2006
Posts: 4236
Location: CS:GO
To be honest I have no idea :P

But if it works with lower numbers I don't see why it wouldn't work with the whole alphabet.

_________________
ImageCrumpets for PresImage


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 8:37 pm 
Ex-Staff
User avatar
Offline

Joined: Jan 2008
Posts: 2761
Location: /wave
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.


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 8:43 pm 
Ex-Staff
User avatar
Offline

Joined: May 2007
Posts: 4441
Location: Life
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.


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 8:44 pm 
Ex-Staff
User avatar
Offline

Joined: Jun 2007
Posts: 2364
Location: Everywhere. All the Time... But more specifically, England
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

Image
Image
Ty cin :love:
Sarcasm makes you more attractive to the opposite sex


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 8:58 pm 
Addicted Member
User avatar
Offline

Joined: Aug 2007
Posts: 2587
Location: OTL&OG
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 :oops:

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 :banghead:

Good luck on solving it lol^^

P.S. im so bad at explaining things like this in english >.<

_________________
Image


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 9:18 pm 
Forum God
User avatar
Offline

Joined: Aug 2006
Posts: 8834
Location: Age of Wushu
26^9

It's been a long time i didnt do math though 8)

_________________
Playing Age of Wushu, dota IMBA


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 9:34 pm 
Banned User
User avatar
Offline

Joined: Jun 2007
Posts: 1491
Location:
Off Topic
^ = times? then 9squared times 26? idk guessing..

_________________
ImageImageImageImageImage


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 9:38 pm 
Forum God
User avatar
Offline

Joined: Aug 2006
Posts: 8834
Location: Age of Wushu
^ = power

_________________
Playing Age of Wushu, dota IMBA


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 9:39 pm 
Banned User
User avatar
Offline

Joined: Jun 2007
Posts: 1491
Location:
Off Topic
oh

_________________
ImageImageImageImageImage


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Sun Feb 17, 2008 9:53 pm 
Frequent Member
User avatar
Offline

Joined: Nov 2007
Posts: 1487
Location:
Azteca
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...

_________________
Image
Kali -- 51 wizard/cleric
Amumu -- 24 bard/cleric


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Mon Feb 18, 2008 3:16 am 
Common Member
User avatar
Offline

Joined: Sep 2007
Posts: 155
Location:
Off Topic
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.


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Mon Feb 18, 2008 11:20 am 
Forum God
User avatar
Offline

Joined: Aug 2006
Posts: 8834
Location: Age of Wushu
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 :shock:

_________________
Playing Age of Wushu, dota IMBA


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Mon Feb 18, 2008 11:39 am 
Banned User
Offline

Joined: Sep 2007
Posts: 372
Location:
Off Topic
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>>


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Mon Feb 18, 2008 12:10 pm 
Common Member
User avatar
Offline

Joined: Sep 2007
Posts: 155
Location:
Off Topic
Quote:
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 8)( casio CFXb-9850 GC +)
Edit 2: it wasn't as close as I thought.


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Mon Feb 18, 2008 12:22 pm 
Forum God
User avatar
Offline

Joined: Aug 2006
Posts: 8834
Location: Age of Wushu
explain the formula -_-

_________________
Playing Age of Wushu, dota IMBA


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Mon Feb 18, 2008 12:33 pm 
Common Member
User avatar
Offline

Joined: Sep 2007
Posts: 155
Location:
Off Topic
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.


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Mon Feb 18, 2008 1:14 pm 
Ex-Staff
User avatar
Offline

Joined: Oct 2006
Posts: 4599
Location: Studying Computer Science, Vienna
Yup. I double checked. Shadowman is right :)

_________________
Carry your cross, and I'll carry mine.


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Mon Feb 18, 2008 1:23 pm 
Ex-Staff
User avatar
Offline

Joined: Jan 2008
Posts: 2761
Location: /wave
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.


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Mon Feb 18, 2008 2:43 pm 
Banned User
Offline

Joined: Sep 2007
Posts: 372
Location:
Off Topic
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>>


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Mon Feb 18, 2008 3:04 pm 
Common Member
User avatar
Offline

Joined: Sep 2007
Posts: 155
Location:
Off Topic
Quote:
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.


Top
 Profile  
 
 Post subject: Re: Math Problem
PostPosted: Mon Feb 18, 2008 3:04 pm 
Ex-Staff
User avatar
Offline

Joined: Jan 2008
Posts: 2761
Location: /wave
No reply wrote:
Quote:
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 42 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group