Re: Calculate Last Digits

Tech-Archive recommends: Fix windows errors by optimizing your registry




"Paul Black" <paul_black27@xxxxxxxxxxx> wrote in message
news:1192870625.127273.18290@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi everyone,

I am trying to loop through ALL the combinations and count the number
of occurances of the last digit for each of the combinations in a 649
Lotto.

321000 means there are 316,800 combinations where 3 of the last digits
are the same, 2 of the last digits are the same (but a different last
digit to the 3) and 1 last digit (but a different last digit to the 3
or 2).


#!?@!#??


The main problem is going to be if there is MORE than one Last Digit
in a Combination.

@!?%!?*!?!?



.



Relevant Pages

  • Re: What does this Code Actually do Please
    ... Dim LastDigit As Integer ... Dim nDupl As Integer ... ' Formula finds the last digit without needing to loop; ...
    (microsoft.public.excel.programming)
  • Re: Compression identical to its inverse?
    ... | the final bit-coding stage in a compression system). ... for the first locational digit. ... REM P = Starting Location Permutations, change this to change the shuffle ... REM IF-THEN loop checks if P>32 to do the lazy loop wraparound ...
    (comp.compression)
  • Re: using smaller bases than possible so as to make use of the comba method?
    ... radix were 32 bits then the comba technique could only be used on one ... If I had chosen 30-bits per digit, than I'd have 4 bits to spare ... int[] z) { ... There are a total of three loops - the second for loop has ...
    (sci.crypt)
  • Re: Radix Sorting
    ... I'm trying to do the most basic of radix sorting and it was hard for me to understand that code. ... Read the first number from the list, and the appropriate digit from that number, and place the digit into the according bin. ... My program is one main recursive loop, ... All the recombine function does is take a two dimensional array of size 10 by whatever (linked lists) and append all the lists together into one. ...
    (comp.lang.c)
  • Re: VB slows down
    ... Even at 0 to 3 for each digit, ... odometer (even if each loop variable counts to different values) and translate ... keep a second array that holds the totals of the non changing digits. ... Dim idx As Long, j As Long ...
    (microsoft.public.vb.general.discussion)