Tag: combinatorics

36 Partition a set into subsets of size $k$ 2012-03-15T19:04:15.743

35 How to load a package without naming conflicts? 2012-05-15T03:15:27.700

35 Looking for "Longest Common Substring" solution 2012-05-28T16:46:06.247

33 Efficient lazy weak compositions 2015-08-30T21:55:29.577

32 Insert $+$, $-$, $\times$, $/$, $($, $)$ into $123456789$ to make it equal to $100$ 2012-11-22T03:13:19.867

31 Faster derangements? 2017-03-23T04:14:10.880

30 How to Derive Tuples Without Replacement 2012-02-17T16:37:30.457

30 How to improve the performance of solutions to Project Euler (#39)? 2012-08-29T07:03:17.717

25 Permutations[Range[12]] produces an error instead of a list 2012-02-04T03:20:35.403

25 What is the fastest way to count square-free words? 2012-08-20T20:27:50.203

22 How do I generate the upper triangular indices from a list? 2012-03-25T03:08:28.287

22 Solving word search puzzles 2016-08-22T19:49:50.060

21 Plotting an Unreasonable Function 2012-11-06T04:14:05.917

21 Shuffle product of two lists 2014-02-03T09:50:58.567

21 Generating Tuples with restrictions 2016-01-29T09:50:00.203

21 How to generate all possible orderless partitions of a list according to another list? 2016-08-13T10:25:20.037

20 Lazy lists of Tuples and Subsets 2012-08-17T14:49:14.190

19 How to enumerate all possible binary associations? 2013-11-27T10:04:53.190

19 Improving speed of code computing number of nonrepeating partitions 2015-08-14T12:15:29.390

18 How to generate all Feynman diagrams with Mathematica? 2018-04-02T15:56:11.703

17 Count number of sublists with a total not greater than a given max 2012-03-05T14:47:06.700

17 When to use built-in Graph/GraphPlot vs. Combinatorica 2012-05-06T22:09:48.090

17 Enumerating tuples from a larger space such that all pairs of values are present at least once 2014-11-12T05:46:00.637

16 Generating Gelfand-Tsetlin patterns 2014-02-22T19:19:22.743

16 Is it better to completely forget about the existence of PowersRepresentations? 2016-04-28T12:37:33.367

16 House of Santa Claus 2016-10-14T23:55:31.947

16 Permutations of nested parentheses (Dyck words) 2017-03-27T18:13:59.443

15 Getting number of binary digits combinations without "forbidden" patterns 2012-11-13T10:02:43.277

15 Partitioning an integer into $k$ equal parts 2013-07-02T08:35:31.340

15 Partitioning with constraints on subsets 2015-01-15T22:47:08.857

14 How to apply a permutation to a symmetric square matrix? 2012-02-25T16:43:42.420

14 Determining all possible traversals of a tree 2012-05-18T21:45:16.783

14 Finding all partitions of a set 2012-07-20T10:18:31.430

14 Generating Linear Extensions of a Partial Order 2012-08-04T14:31:39.613

14 Finding elementary cycles of (directed) graphs 2012-08-14T21:37:18.907

14 How to correct my code for solving the Josephus problem? 2013-10-07T11:20:20.197

14 how to permute list of number{1,2,3,...,n},while preserve the order of first m terms as well as the last n-m terms? 2016-07-14T09:32:28.650

13 Probability problem -- Rube Goldberg solution? 2012-02-07T05:10:09.650

13 Find all permutations with a condition 2013-03-10T23:19:13.680

13 Better way to get Fisher Exact? 2014-01-31T00:01:39.107

13 What is the fastest way to get the nth distinct permutation of a list? 2015-03-16T22:58:44.067

13 Lazy form of Tuples/Outer to loop over list of lists 2016-03-09T23:42:11.980

13 Efficiently generating samples from an urn with maximum per element constraint? 2016-06-11T08:53:35.873

12 Combination and Permutation 2012-01-29T17:26:10.077

12 Word Squares and Beyond 2012-08-05T23:47:11.127

12 Memory efficient generation and selection of tuples 2013-07-07T05:09:45.457

12 Equivalent Nested Loop Structure 2013-11-07T13:53:17.717

12 Young Tableaux Miscellanea 2014-02-28T23:02:12.023

12 How to generate all involutive permutations? 2018-05-11T16:51:39.933

12 Generate only unique combinations when input contains duplicates 2020-04-09T06:03:02.387

12 Programming a bishop's move on a grid 2020-12-26T05:42:24.870

11 Advanced Tupling 2012-03-05T16:38:21.913

11 NumberOfSpanningTrees command not working correctly 2012-03-26T04:58:35.563

11 Find all permutations with reversals / cyclic permutations removed 2012-10-11T13:11:44.237

11 Binomial[-1,-1] 2014-04-09T10:38:07.437

11 Alternative to Subsets to generate k-combinations 2015-06-17T12:29:53.937

11 Find all the possible ways of partitioning a list into a set of pairs of element 2015-07-13T08:16:08.667

11 How to count all cliques (not just maximal ones) in graphs? 2015-09-29T19:52:49.707

11 Warning in version 11.0 when loading package Combinatorica 2016-08-26T16:47:57.790

10 Efficiently Visualising Very Large Data Sets (without running out of memory) 2012-03-06T14:58:19.757

10 Looking for a package regarding Schur Polynomials and Kostka numbers 2013-04-07T07:34:00.623

10 How do I expand StirlingS2[n, 10] in terms of elementary functions? 2013-05-09T00:43:10.900

10 Is there a function to generate a minimal clique edge cover? 2013-06-02T23:02:50.660

10 Using Permutations to create numbers 2014-09-19T14:57:36.807

10 Efficient way to make subsets of list with placeholders 2016-02-16T21:12:59.737

10 Mathematica implementation of Zeilberger's algorithm (previously done in Maple) 2016-06-24T17:48:57.390

10 unordered Tuples 2017-02-02T15:19:47.333

10 Permutations of lists of fixed even numbers 2017-03-21T16:57:03.247

9 Is it possible to generate a Hasse diagram for a defined relation? 2012-05-08T20:08:44.767

9 permutation as product of transpositions 2012-09-20T12:53:32.050

9 Sierpinski carpet with GraphData 2013-08-19T11:41:52.503

9 Checking if one partition is a subpartition of another 2015-03-15T12:20:24.103

9 generating integer partitions 2015-08-28T22:22:19.967

9 Cyclic and Non-cyclic Permutations 2016-07-08T13:29:51.367

9 StableMarriage vs. FindIndependendEdgeSet: How to use the procedure FindIndependendEdgeSet as a Gale-Shapley algorithm? 2019-03-01T09:29:13.550

9 Generating set partition diagrams 2019-10-01T19:12:15.497

9 Generating an efficient way to compute einsum? 2019-10-04T17:14:46.237

9 Lozenge tilings 2020-08-13T06:32:31.840

9 Solving a rotating combination lock puzzle 2020-09-25T17:42:39.200

8 Finding all length-n words on an alphabet that have a specified number of each letter 2012-05-03T00:32:19.983

8 Mathematica function/package for shuffle permutations 2012-05-04T03:49:53.487

8 Counting the number of a specific type of permutation 2013-03-13T00:07:20.990

8 Finding all sublists or substrings of a given list/string 2015-01-27T16:50:14.020

8 Tuples with one "joker" digit? 2016-03-04T07:42:41.947

8 Generalizing LongestCommonSequence to 3 or more arguments? 2016-05-13T20:54:04.300

8 Doing combinations of sub-sublists 2017-02-20T02:08:25.610

8 From a list of lists of integer, choose a minimal length list of integers that intersects each sublist 2017-08-02T16:18:06.300

8 Testing for Symmetry and Regularity in (Graph-Theoretic) Graphs 2018-05-30T19:21:27.440

8 Find k smallest sum n-tuples 2018-07-31T01:25:53.360

8 How to represent a product of cycles in matrix form? 2018-09-25T22:52:53.140

8 How can I get all 4 × 4 submatrices of an n × n matrix? 2020-01-23T20:12:52.433

8 Merge list repeating elements 2020-02-22T22:05:58.640

8 How to remove any words containing two adjacent characters with different in both cases and letters? 2020-08-23T16:17:06.020

8 Climbing/Descending the Integer Ladder 2020-10-18T17:23:50.307

7 Solving variant of the knapsack/money-changing problem 2013-03-11T23:23:34.337

7 All possible topological orderings of a graph 2013-09-15T21:41:33.567

7 Tools for finding minimal or almost-minimal graph vertex colorations in Mathematica v9? 2013-11-08T14:21:55.637

7 Enumerating all connected graphs with 9 vertices 2014-09-26T11:40:48.213

7 Defining Associated Stirling Numbers of the Second Kind 2014-10-17T09:32:50.657