LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Overlapping combinations problem

Hi all,

Given some parameters N,k,t,B where N=k=t and B1
- Generate B random combinations from 1 to N of size k
- Calculate the unique and overlapping combinations of size t
that belong to the B combinations.

Ex:
N=12 k=4 t=3 B=7

1 2 4 5
1 3 6 7
1 3 10 11
2 7 9 11
3 4 5 8
1 2 3 6
4 6 7 9

My results a
Combinations appearing once =10
twice =288
3 times=190
4 times=7

How can we count the above faster that brute force?

TIA
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with pivot tables overlapping with new data jjonessnl Excel Discussion (Misc queries) 1 October 6th 09 03:00 PM
Overlapping Cells catlady Excel Discussion (Misc queries) 4 May 3rd 09 05:42 PM
Odd overlapping problem with standard column chart MJW[_2_] Charts and Charting in Excel 4 August 15th 07 09:09 PM
Overlapping Charts malewis48 Charts and Charting in Excel 1 March 9th 07 10:52 PM
Overlapping Pie Charts [email protected] Charts and Charting in Excel 1 June 22nd 06 03:44 PM


All times are GMT +1. The time now is 03:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"