+ Reply to Thread
Results 1 to 18 of 18

using the 4 patterns even/odd/low/high in pick3.

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

    using the 4 patterns even/odd/low/high in pick3.

    using the 4 patterns even/odd/low/high in pick3, how many permutations do we have at 100%
    even = 1 0,2,4,6,8
    odd = 2 1,3,5,7,9
    low = 3 0.1,2,3,4
    high = 4 5,6,7,8,9
    For example: say the last draw was 158. That's (Odd & Low) & (Odd & High) & (Even & High), or 23 & 24 & 14.
    so using 4 patterns how many combinations two by two is possible?
    23 24 14
    ?
    how many in 100%

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

    Re: using the 4 patterns even/odd/low/high in pick3.

    https://www.excelforum.com/attachmen...1&d=1638127655
    Attached Files Attached Files

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

    Re: using the 4 patterns even/odd/low/high in pick3.

    hello please!

  4. #4
    Forum Contributor
    Join Date
    10-02-2012
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    252

    Re: using the 4 patterns even/odd/low/high in pick3.

    Hi Jorel,

    I don't think you question is in the right part of the forum. This is for help with VBA in Excel.

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

    Re: using the 4 patterns even/odd/low/high in pick3.

    ok,prezi = I'll put it on VBA thank you

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

    Re: using the 4 patterns even/odd/low/high in pick3.

    up! but it's on the vba forum!!!

  7. #7
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: using the 4 patterns even/odd/low/high in pick3.

    How much of this is actually Excel programming related, and how much is more generic number theory/permutation/combination?

    With each digit fitting into four overlapping categories, I see only 4 permutations -- even&low=13, even&high=14, odd&low=23, odd&high=24. Am I misunderstanding something?

    Computing the "score" for each digit looks like it should be as simple as =ISEVEN(digit)*10+ISODD(digit)*20+(digit<=4)*3+(digit>=5)*4. Am I misunderstanding something? If you prefer VBA, VBA has similar functions, so it should be straightforward to translate that worksheet formula into VBA.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

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

    Re: using the 4 patterns even/odd/low/high in pick3.

    so see step by step, we have 4 patterns for each of the three pick3 positions ok
    each position is possible two patterns, the question is =
    how many permutations are there in the total possible
    two by two
    xx xx xx?
    example
    333= equals 2.3 2.3 2.3
    other ex=
    334= 2.3 2.3 1.4

  9. #9
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: using the 4 patterns even/odd/low/high in pick3.

    So, this becomes a basic permutation question (here's a math tutorial on permutations and combinations: https://www.mathsisfun.com/combinato...mutations.html ). If you read the tutorial, the applicable section seems to be section 1. permutations with repetition, where it explains that the number of permutations when you have n (4 in your scenario) possibilities and r (3 in your scenario) repetitions, the number of permutations is n^4 (4^3=64). If desired, you can use the PERMUTATIONA() function for this in Excel: https://support.microsoft.com/en-us/...9-2857b25cae4e

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

    Re: using the 4 patterns even/odd/low/high in pick3.

    hello on the link I posted is not doing the desired permutations ex = 12 12 12
    12 12 13 .............. 34 34 34

  11. #11
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: using the 4 patterns even/odd/low/high in pick3.

    I'm not sure I understand. Are you saying that you want to actually generate the permutations, not just count them? I know in past projects where you have wanted to generate permutations, people have supplied various procedures using nested For..Next loops to generate permutations. Do you have a specific question about how to use For..Next loops (or other programming strategies) for generating permutations?

    If it were me and I were having any trouble coming up with a way to programmatically generate the permutations, I would probably simply hand enter the permutations. There are only 64 of them in this case. While it would be a few minutes of tedium, it would probably be easier and faster than trying to come up with a program for the task -- especially since the program probably only needs to run once.

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

    Re: using the 4 patterns even/odd/low/high in pick3.

    hello, mrshoty, almost there, yes! there are 64 4 to 3 patterns, but look mrshoty, there are three doubles each line and not 3 digits
    example = 1,2,3...... 4,4,4 64 patterns
    but it's the doubles I need, ex=12,13,14
    maybe first you have to do
    how many pairs do each of the 3 positions have
    12
    13
    14
    23
    ...
    34
    you swap you doubles

  13. #13
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: using the 4 patterns even/odd/low/high in pick3.

    I'm lost. I don't know what you mean by "doubles" or what you want to do with them.

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

    Re: using the 4 patterns even/odd/low/high in pick3.

    ok each position can have two of the 4 patterns, you have to make the list of the 1st position after the two remaining positions are equal
    look at an example pick3
    963
    9= is odd and high = or 2.4
    mrshoty you have to consult the table of the 4 patterns to assemble the list of the three pairs

  15. #15
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: using the 4 patterns even/odd/low/high in pick3.

    I still don't understand, isn't that basically the same thing I proposed in post #7?

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

    Re: using the 4 patterns even/odd/low/high in pick3.

    hello mrshort
    1ª posiçao da pick3
    temos
    1,2
    1,3
    1,4
    2,1
    2,3
    2,4
    3,1
    3,2
    3,4
    4,1
    4,2
    4,3
    entao 12 x 12 x12 = 1728

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

    Re: using the 4 patterns even/odd/low/high in pick3.

    1278 no error= correct 64

  18. #18
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: using the 4 patterns even/odd/low/high in pick3.

    Now I'm even more confused.

+ 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] detect the string with the three digits of pick3.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-05-2021, 06:49 AM
  2. [SOLVED] decree each lottery pick3 in its default well we have 27 patterns in 1oo%
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-19-2020, 08:36 AM
  3. generate all 220 pick3 in the following criteria
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-06-2020, 10:09 AM
  4. [SOLVED] Rank items in Pivot table from high to low and low to high based on the filter selected
    By jholiday78 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 02-19-2017, 11:22 AM
  5. pick3 converter 6 patterns
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-26-2016, 07:50 PM
  6. High Low Close Chart - How to add High & Low labels
    By stephenedwardbennett in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-23-2015, 06:45 AM
  7. Converting 2007 VBA color patterns to 2003 color patterns
    By ChemistB in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-13-2011, 12:00 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