+ Reply to Thread
Results 1 to 17 of 17

Request = how many strings can we create with the digits 3,6,9

  1. #1
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,179

    Request = how many strings can we create with the digits 3,6,9

    No more than 4 repetitions crossing or combining
    Example =
    3 = 3,33,333,3333
    3.6, 336 366
    3.9 339 399 ....
    6 = 6.66 666 6666
    6 ...?

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Request = how many strings can we create with the digits 3,6,9

    If upper limit is 4 digits, 4^4 = 256 possible combos, including ---- 4 blanks (the 4th possibility).
    No, that's wrong, blanks can't lead or trail. It should be 3^4 + 3^3 + 3^2 + 3 = 120 permutations.
    Last edited by leelnich; 10-26-2017 at 08:18 AM.
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

  3. #3
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,179

    Re: Request = how many strings can we create with the digits 3,6,9

    Hello, corret, where are the formations? Can you put the total Das strings in the post? I need all training please

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Request = how many strings can we create with the digits 3,6,9

    Hi jorel.

    This isn't a hard problem. If you have 3 letters like A,B,C and you want to create all possible 4 letter (and less) words from them you have 3 letters for the first, 3 letters for the second, 3 for the third and 3 for the forth letter. This is then 3 to the power of 4 or 3^4 possible 4 letter words from those 3 letters. Now you could add 1 letter, 2 letter, 3 letter; words to get a total of 120. See the attached.

    Prob Strings with Repeats.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,179

    Re: Request = how many strings can we create with the digits 3,6,9

    ok,MARVINP they are strings for a lottery of the presence of the digits
    3,6,9, 120 trainings, I thought they were much more
    good job, conglatulations, thank you

  6. #6
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,179

    Re: Request = how many strings can we create with the digits 3,6,9

    Hello, but the list of 21 and 81 is incomplete!
    I need them to convert !!! please
    For the purpose is to have these complete formations

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Request = how many strings can we create with the digits 3,6,9

    Hi jorel,

    I have no idea what is incomplete. What am I missing? Give me more examples on what is missing or incomplete.

  8. #8
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,179

    Re: Request = how many strings can we create with the digits 3,6,9

    You have to do the conversion for digits.
    A = 3
    B = 6
    C = 9
    And make the entire list of 21 and all the formations of 81

  9. #9
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Request = how many strings can we create with the digits 3,6,9

    Hi jorel,

    Your question was "how many" and I still think the answer is 120.

    I didn't know you wanted the entire list of all of them.

  10. #10
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,179

    Re: Request = how many strings can we create with the digits 3,6,9

    Ok sorry, I thought asking for quantity would automatically come to the lists! Can you do the whole list of the 27 and also the 81? Please
    Then convert the digits to 3,6,9 please
    I need the complete lists

  11. #11
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,179

    Re: Request = how many strings can we create with the digits 3,6,9

    hello, please

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,558

    Re: Request = how many strings can we create with the digits 3,6,9

    Jorel - please remember that those who help here do so voluntarily and of their own goodwill. They live in many different time zones and many will be out at work right now if they are not asleep on the other side of the globe. This is not a paid 'service': members will help when they are ready and able to do so, and not 'on demand'. Please do not try to put pressure of time on anyone here: if you get the help you need today, that's fine, but you really should not count on it. Thanks for your understanding and patience.

    From the forum rules (link in the main menu above):
    • If your question has not been answered within a day, consider adding another post with any additional information you believe is relevant. If you think your post is good as is, just reply to your own thread with the words "Bump no response", which will bring it to the top of the forum.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  13. #13
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Request = how many strings can we create with the digits 3,6,9

    Here's all 120 combinations, generated via 2 worksheet formulas:
    Cell A1:A120 =MOD(ROW()-1,3)*3+3
    Cells B4:B120, C13:C120, D40:D120 =IF(COUNTIF($A4:A4,"<>3")=0,MOD(B3,9)+3,B3)
    Attached Files Attached Files
    Last edited by leelnich; 10-26-2017 at 01:36 PM.

  14. #14
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,179

    Re: Request = how many strings can we create with the digits 3,6,9

    thank you leel

  15. #15
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,179

    Re: Request = how many strings can we create with the digits 3,6,9

    aligw sorry

  16. #16
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Request = how many strings can we create with the digits 3,6,9

    My pleasure, thanks for the rep!

  17. #17
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Request = how many strings can we create with the digits 3,6,9

    @leelnich How does 120 equal
    Can you do the whole list of the 27 and also the 81?
    I decided to not help any more based on the OP needed to do some of the thinking on their own.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Request = random generator from 000 to 999 That has at least one of the 3 digits = 3,6,9
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 07-31-2017, 06:48 AM
  2. [SOLVED] Request, convert the 64 patterns to the digits from 000 to 999
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 07-25-2017, 04:07 PM
  3. [SOLVED] Separate strings of ascending order of 4 and 5 digits
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-14-2017, 10:13 PM
  4. [SOLVED] Find the strings of only the last digits of the numbers in the 5 sectors, please!
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 41
    Last Post: 04-16-2017, 08:46 AM
  5. Replies: 2
    Last Post: 10-23-2014, 12:28 AM
  6. Replies: 0
    Last Post: 09-22-2011, 11:17 PM
  7. [SOLVED] I need to execute the SQL.Request with SQL strings larger than 512
    By Xavier in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-08-2005, 07:06 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1