Hey there! Sign in to join this conversationNew here? Join for free

Calculating the number of times individual digits appear in each combination. Watch

    • Thread Starter
    Offline

    0
    ReputationRep:
    Good afternoon,

    I am trying to work out the total times a particular digit comes out in every combination of a COMBIN(49,6) lottery.

    So for example, the digit 0, of which there are 4 (10,20,30,40), will appear...
    0 = 8,145,060 combinations where digit 0 appears NO times in the total COMBIN(49,6) combinations.

    1 = 4,887,036 combinations where digit 1 appears 4,887,036 times in the total COMBIN(49,6) combinations etc.

    2 = 893,970
    3 = 56,760
    4 = 990
    5 = N/A
    6 = N/A
    7 = N/A

    For 0 I used the Excel formula =COMBIN(4,0)*COMBIN(45,6)
    For 1 I used the Excel formula =COMBIN(4,1)*COMBIN(45,5)

    Now my question is, what formulas do I use for say digit 1, of which there are 14 (1,10,11,12,13,14,15,16,17,18,19 ,21,31,41)

    For 0 I used the Excel formula =COMBIN(14,0)*COMBIN(35,6) which worked OK.

    I tried the Excel formula =COMBIN(14,1)*COMBIN(35,5) which gave me 4,544,848 which is wrong, it should be 4,220,216, a difference of 324,632.

    I think it might be to do with the fact that there is a double digit within the 14 occurances of digit 1, that being 11.

    If anyone has any ideas I will be grateful.

    Thanks in advance.
    Offline

    16
    ReputationRep:
    I think it is 48C5
    • Thread Starter
    Offline

    0
    ReputationRep:
    Thanks for the reply, unfortunately this is not the scenario I am looking for.
 
 
 
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • Poll
    What's your favourite Christmas sweets?
    Useful resources

    Make your revision easier

    Maths

    Maths Forum posting guidelines

    Not sure where to post? Read the updated guidelines here

    Equations

    How to use LaTex

    Writing equations the easy way

    Student revising

    Study habits of A* students

    Top tips from students who have already aced their exams

    Study Planner

    Create your own Study Planner

    Never miss a deadline again

    Polling station sign

    Thinking about a maths degree?

    Chat with other maths applicants

    Can you help? Study help unanswered threads

    Groups associated with this forum:

    View associated groups
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

    Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

    Quick reply
    Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.