Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get the subset with the given index and length
ResourceFunction["SubsetFromIndex"][index,len] returns a subset of length len with given index. |
Give the first ten 3-subsets:
| In[1]:= |
| Out[1]= |
The following code gives the same 3-subset sequence:
| In[2]:= |
| Out[2]= |
The function can return subsets of a large index:
| In[3]:= |
| Out[3]= |
The function can return the subset of a given index for various lengths:
| In[4]:= |
| Out[4]= |
Some binomial representations of the number 320:
| In[5]:= | ![]() |
| Out[5]= | ![]() |
Here are some 2-subsets with their indices to show their structure:
| In[6]:= | ![]() |
| Out[6]= | ![]() |
The structure of 3-subsets in 3D:
| In[7]:= | ![]() |
| Out[7]= | ![]() |
Find the trillionth numbers with binary weights eight to twelve:
| In[8]:= |
| Out[8]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License