• Status: Solved
• Priority: Medium
• Security: Public
• Views: 342

# count string convinations

hello there,
I am trying to calculate how many combinations can be made with 25 chars
using "abcdefghijklmnopqrstuvwxy0123456789"

each password is 25 characters total:
77kcu85wqc2elui7cqz7do3ss
52hwgawx6pc7h82h41eosalaj
ymzy5jiv92w03eto4wwu19juk
etc..

how many millions or billions unique combinations can be made?
0
XK8ER
1 Solution

Commented:
This is a permutation problem, where repetition is allowed, it seems. You should find what you need here:

http://www.regentsprep.org/Regents/math/ALGEBRA/APR2/LpermRep.htm
0

EngineerCommented:
abcdefghijklmnopqrstuvwxy0123456789

has 35 chars and you need 25 of them

So it would be

35^25
0

Author Commented:
haa sorry my math skills are a bit low, so exactly do I know the numbers?
0

EngineerCommented:
35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35*35

(25 times)
0

Author Commented:
right, but that still doesnt tell me how many trillion or billion?
0

EngineerCommented:
3.9966959347247031355112791061401e+38

or

399,669,593,472,470,313,551,127,910,614,010,000,000

The last 7 digits have been rounded to zeros
0

Commented:
35^25 = 399669593472470313551127910614013671875
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.