Solved

count string convinations

Posted on 2013-05-10
7
323 Views
Last Modified: 2013-05-10
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
Comment
Question by:XK8ER
7 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39156817
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
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39156846
abcdefghijklmnopqrstuvwxy0123456789

has 35 chars and you need 25 of them

So it would be

35^25
0
 
LVL 1

Author Comment

by:XK8ER
ID: 39156889
haa sorry my math skills are a bit low, so exactly do I know the numbers?
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39156922
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
 
LVL 1

Author Comment

by:XK8ER
ID: 39156937
right, but that still doesnt tell me how many trillion or billion?
0
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 39156938
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
 
LVL 84

Expert Comment

by:ozo
ID: 39157177
35^25 = 399669593472470313551127910614013671875
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question