I ran it, here are the results:
Gaps
Gaps of 00 8,561,520
Gaps of 01 7,669,695
Gaps of 02 6,853,770
Gaps of 03 6,108,795
Gaps of 04 5,430,040
Gaps of 05 4,812,990
Gaps of 06 4,253,340
Gaps of 07 3,746,990
Gaps of 08 3,290,040
Gaps of 09 2,878,785
Gaps of 10 2,509,710
Gaps of 11 2,179,485
Gaps of 12 1,884,960
Gaps of 13 1,623,160
Gaps of 14 1,391,280
Gaps of 15 1,186,680
Gaps of 16 1,006,880
Gaps of 17 849,555
Gaps of 18 712,530
Gaps of 19 593,775
Gaps of 20 491,400
Gaps of 21 403,650
Gaps of 22 328,900
Gaps of 23 265,650
Gaps of 24 212,520
Gaps of 25 168,245
Gaps of 26 131,670
Gaps of 27 101,745
Gaps of 28 77,520
Gaps of 29 58,140
Gaps of 30 42,840
Gaps of 31 30,940
Gaps of 32 21,840
Gaps of 33 15,015
Gaps of 34 10,010
Gaps of 35 6,435
Gaps of 36 3,960
Gaps of 37 2,310
Gaps of 38 1,260
Gaps of 39 630
Gaps of 40 280
Gaps of 41 105
Gaps of 42 30
Gaps of 43 5
69,919,080
--
Regards,
Tom Ogilvy
"Paul Black" wrote:
> Thanks for the code Bernie.
>
> I don't have access to Excel at the moment so am unable to test the
> code.
> Does the code apply to my original request or to my Private Sub Gaps()
> effort please. I assume it applies to my effort.
> It is my original request that is the most important one.
>
> Thanks in Advance.
> All the Best.
> Paul
>
> On Jul 10, 5:04 pm, Tom Ogilvy <TomOgi...@discussions.microsoft.com>
> wrote:
> > Whoops!
> > mistook your explantion for part of your question <face red>. Have to
> > confess I didn't read the original post so thought it was all a quote.
> >
> > --
> > Regards,
> > Tom Ogilvy
> >
> >
> >
> > "Bernie Deitrick" wrote:
> >
> > > Tom,
> >
> > > > You could repeat this pattern a total
> > > > of 6 times until you ran out of numbers.
> >
> > > I think we're in agreement:
> >
> > > >> Those 'gaps' can only be produced by 6 different combinations:
> > > >> 01 08 15 24 37 44
> > > >> 02 09 16 25 38 45
> > > >> 03 10 17 26 39 46
> > > >> 04 11 18 27 40 47
> > > >> 05 12 19 28 41 48
> > > >> 06 13 20 29 42 49
> >
> > > But I have no idea how the OP got 925,365 combinations:
> >
> > > >> > Gaps 06 06 08 12 06 = x combinations ( x could be 925,365 combinations
> > > >> > with the exact same Gaps between the balls 1-2, 2-3 ,3-4 ,4-5 & 5-6 )
> >
> > > Bernie- Hide quoted text -
> >
> > - Show quoted text -
>
>
>