Solved

count string convinations

Posted on 2013-05-10
7
317 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 74

Expert Comment

by:käµfm³d 👽
Comment Utility
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
Comment Utility
abcdefghijklmnopqrstuvwxy0123456789

has 35 chars and you need 25 of them

So it would be

35^25
0
 
LVL 1

Author Comment

by:XK8ER
Comment Utility
haa sorry my math skills are a bit low, so exactly do I know the numbers?
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 43

Expert Comment

by:Saqib Husain, Syed
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
35^25 = 399669593472470313551127910614013671875
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
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.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now