login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A231428 Sorted and encoded binary matrices representing equivalence relations. 7

%I #35 Nov 09 2014 00:01:41

%S 0,1,2,4,7,8,12,16,18,25,32,33,42,52,63,64,68,80,96,116,128,130,136,

%T 160,170,193,225,256,257,264,272,281,322,338,388,396,455,512,513,514,

%U 516,519,584,588,656,658,729,800,801,874,948,1023,1024

%N Sorted and encoded binary matrices representing equivalence relations.

%C The N X N binary matrix of an equivalence relation is perfectly defined by its upper-right triangle. We encode such a matrix with the (N*(N-1))/2 bit number obtained by joining together each line of the upper-right triangle. The numbers are converted to base 10.

%C This is an infinite sequence and can be used for arbitrarily large values of N. To enumerate the finite list of n X n matrices for a given n, truncate this sequence to the first A000110(n) elements.

%H Philippe Beaudoin, <a href="/A231428/b231428.txt">Table of n, a(n) for n = 1..10000</a>

%H Philippe Beaudoin, <a href="/A231428/a231428_1.py.txt">Python program to generate the sequence</a>

%H Tilman Piesk, <a href="https://commons.wikimedia.org/wiki/File:Set_partitions_5;_list.svg">Illustrated list of the first 52 equivalence relations</a>

%H Tilman Piesk, <a href="/A231428/a231428.txt">Non-singleton blocks of the partitions of {1...8} in the same order.</a>

%H Tilman Piesk, <a href="https://en.wikiversity.org/wiki/Permutations_and_partitions_in_the_OEIS">Permutations and partitions in the OEIS</a> (Wikiversity)

%e The 4 X 4 equivalence matrices are represented by the first A000110(4) = 15 elements, that is: 0, 1, 2, 4, 7, 8, 12, 16, 18, 25, 32, 33, 42, 52, 63.

%e The 4 X 4 matrix corresponding to 25 = 0b011001 is:

%e 1 0 1 1

%e 0 1 0 0

%e 1 0 1 1

%e 1 0 1 1

%K nonn

%O 1,3

%A _Philippe Beaudoin_, Nov 09 2013

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 29 14:02 EDT 2024. Contains 373851 sequences. (Running on oeis4.)