Welcome Guest [Log In] [Register]
Welcome to Crypto. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Shifting Alphabets; How can I PROVE this rule?
Topic Started: Sep 28 2005, 03:39 PM (416 Views)
Revelation
Member Avatar
Administrator
[ *  *  *  *  * ]
Well, the ! means the number of solutions for a normal swap.

With two number:
AB - BA : 2

Three:
ABC - ACB - BAC - BCA - CAB - CBA : 6

This is simply calculated by the length n, multiplied by n-1, n-2 etc.

So with a length of three it would become 3 * 2 * 1 = 6 possibilities.

e is a constant value used in difficult math problems and somehow this works. I will ask someone later today about that. Maybe this will help.
RRRREJMEEEEEPVKLWENFNVJKEEEEEAOLKAFKLXCFZAASDJXZTTTTTTTLSIOWJXMOKLAFJNNKFNXN
RAGRBAQEMHIGDJVDSEOXVIYCELFHWLELJFIENXLRATALSJFSLCYTKLASJDKMHGOVOKAJDNMNUITN
RRRRLJVEEEEECLYVYHNVPFTAEEEEEMWLMEIRNGLARWJAKJDFLWNTIERJMIPQWOTZEOCXKNUBNXCN
RJIRPOWEANFUSNCZVDVZNMSFEKLOEPZLDKDJWSAAAAAAAOERHJCTNCKFRIMVKSOFOMKMANREWNBN
RZUDRGXEEEEENFQIDVLQNCKNEEEEEDGLLLLLLAWIOSNCDARLODMTOEJXMILDFJROTKJSDNLVCZNN
Offline Profile Quote Post Goto Top
 
Donald
Elite member
[ *  *  *  *  * ]
Quote:
 
e is a constant value used in difficult math problems and somehow this works.

Very interesting. I'm familiar with "e", I just wouldn't have assumed it had any connection to this problem, and still don't quite understand how it does. I am axiously awaiting your friends answer!
Offline Profile Quote Post Goto Top
 
insecure
Elite member
[ *  *  *  *  * ]
I don't see it either, Donald.

If it's any help, n! is certainly the number of possible keys n distinct characters in length.

I'm not sure how dividing by e helps, though.
Offline Profile Quote Post Goto Top
 
Revelation
Member Avatar
Administrator
[ *  *  *  *  * ]
Well, e is the basis of a natural logarithm. Mathematicaly seen e is the limit of the set 1 + 1 + 1/2! + 1/3! + 1/4! + ... + 1/n!
RRRREJMEEEEEPVKLWENFNVJKEEEEEAOLKAFKLXCFZAASDJXZTTTTTTTLSIOWJXMOKLAFJNNKFNXN
RAGRBAQEMHIGDJVDSEOXVIYCELFHWLELJFIENXLRATALSJFSLCYTKLASJDKMHGOVOKAJDNMNUITN
RRRRLJVEEEEECLYVYHNVPFTAEEEEEMWLMEIRNGLARWJAKJDFLWNTIERJMIPQWOTZEOCXKNUBNXCN
RJIRPOWEANFUSNCZVDVZNMSFEKLOEPZLDKDJWSAAAAAAAOERHJCTNCKFRIMVKSOFOMKMANREWNBN
RZUDRGXEEEEENFQIDVLQNCKNEEEEEDGLLLLLLAWIOSNCDARLODMTOEJXMILDFJROTKJSDNLVCZNN
Offline Profile Quote Post Goto Top
 
insecure
Elite member
[ *  *  *  *  * ]
Yes, I know. By the way, we say "base" rather than "basis" when talking about logarithms. That is, e is the base of natural logarithms.

(I bother to correct your English only because it is already so good. If you were useless at English, I wouldn't see the point!)

You see, the problem is not that Donald and I don't know what e actually is. We do. The problem, rather, is that we don't see why it applies here. What significance does n! / e actually have? What does it tell us, and why?
Offline Profile Quote Post Goto Top
 
Revelation
Member Avatar
Administrator
[ *  *  *  *  * ]
Thanks for the correction :)

Say s_{n} is the number of 'good' combinations for n letters. Then you'll get this:

s_{n} = (n-1)*(s_{n-1} + s_{n-2})

Table:
============
n ............... s_{n}
1 ............... 0
2 ............... 1
3 ............... 2
4 ............... 9
5 ............... 44
6 ............... 265
7 ............... 1.854
8 ............... 14.833
9 ............... 133.496
10 ............. 1.334.961

You see that for n=10 s_{n} is 1.334.961. But 10!/e is also 1.334.961! So n!/e also does the trick.

The formula can also be written as s_{n} = n*s_{n-1} + (-1)^n, which is Euler's formula.
RRRREJMEEEEEPVKLWENFNVJKEEEEEAOLKAFKLXCFZAASDJXZTTTTTTTLSIOWJXMOKLAFJNNKFNXN
RAGRBAQEMHIGDJVDSEOXVIYCELFHWLELJFIENXLRATALSJFSLCYTKLASJDKMHGOVOKAJDNMNUITN
RRRRLJVEEEEECLYVYHNVPFTAEEEEEMWLMEIRNGLARWJAKJDFLWNTIERJMIPQWOTZEOCXKNUBNXCN
RJIRPOWEANFUSNCZVDVZNMSFEKLOEPZLDKDJWSAAAAAAAOERHJCTNCKFRIMVKSOFOMKMANREWNBN
RZUDRGXEEEEENFQIDVLQNCKNEEEEEDGLLLLLLAWIOSNCDARLODMTOEJXMILDFJROTKJSDNLVCZNN
Offline Profile Quote Post Goto Top
 
PulsarSL
Super member
[ *  *  *  * ]
Revelation
Oct 1 2005, 08:06 AM
Thanks for the correction :)

Say s_{n} is the number of 'good' combinations for n letters. Then you'll get this:

s_{n} = (n-1)*(s_{n-1} + s_{n-2})

Table:
============
n ............... s_{n}
1 ............... 0
2 ............... 1
3 ............... 2
4 ............... 9
5 ............... 44
6 ............... 265
7 ............... 1.854
8 ............... 14.833
9 ............... 133.496
10 ............. 1.334.961

You see that for n=10 s_{n} is 1.334.961. But 10!/e is also 1.334.961! So n!/e also does the trick.

The formula can also be written as s_{n} = n*s_{n-1} + (-1)^n, which is Euler's formula.

interesting...
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · General · Next Topic »
Add Reply