Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2017
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    128 letter number sequence

    hi guys I know this would be really hard to do, I been searching for while but I cant seem to get it right.

    I would like to make a code in java or any other type of programming tools.

    to make all sequence possible with 128 chars. that mean(111111111111111111111111111111111111111111111111111111111111111111) example total of 128.


    it could be any thing like 0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f those are the chars that I would like in the program. no sequence could repeat.

    I know it would be millions or billions of combinations. =)

  2. #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    19,441
    Thanks
    217
    Thanked 2,699 Times in 2,675 Posts
    Quote Originally Posted by recksbrol View Post
    hi guys I know this would be really hard to do, I been searching for while but I cant seem to get it right.


    I know it would be millions or billions of combinations. =)
    Quite so. The approximate value of 128! is: 3.8562048236258E+215

    The number of trailing 0s in 128! is: 31

    The number of digits in 128 factorial is 216.

    So why do you want to do this? Seems pretty pointless.
    Last edited by Philip M; 03-05-2017 at 11:44 AM.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •