A362895 a(n) is the length of the smallest orbit of the n-th natural downset.
1, 1, 1, 1, 1, 3, 3, 1, 1, 4, 12, 12, 6, 6, 4, 1, 1, 5, 20, 30, 30, 60, 60, 20, 10, 10, 30, 30, 10, 10, 5, 1, 1, 6, 30, 60, 60, 180, 180, 60, 60, 120, 360, 360, 180, 180, 120, 30, 15, 15, 60, 90, 90, 180, 180, 60, 20, 20, 60, 60, 15, 15, 6, 1, 1, 7
Offset: 0
Examples
For any nonnegative integer m the natural downset corresponding to N_2^m = {0,1,2,...,(2^m)-1} is a Boolean lattice. For n = 5 we have k = 3 which corresponds to the Boolean lattice N_2^k = N_8. We can illustrate a(5) = 3 under this definition based on the three downsets of N_8 which are isomorphic to N_5 (including N_5 itself): 7 / | \ 3 5 6 3 5 6 | X X | : | \ , / \ , / | 1 2 4 1 2 4 1 2 4 1 2 4 \ | / \ | / \ | / \ | / 0 0 0 0 Other examples: a(0) = 1: N_0 = {} -> {} a(1) = 1: N_1 = {0} -> {0} a(2) = 1: N_2 = {0,1} -> {0,1} a(3) = 1: N_3 = {0,1,2} -> {0,1,2} a(4) = 1: N_4 = {0,1,2,3} -> {0,1,2,3} a(5) = 3: N_5 = {0,1,2,3,4} -> {0,1,2,3,4}, {0,1,2,4,5}, {0,1,2,4,6} a(6) = 3: N_6 = {0,1,2,3,4,5} -> {0,1,2,3,4,5}, {0,1,2,3,4,6}, {0,1,2,4,5,6} a(7) = 1: N_7 = {0,1,2,3,4,5,6} -> {0,1,2,3,4,5,6} a(8) = 1: N_8 = {0,1,2,3,4,5,6,7} -> {0,1,2,3,4,5,6,7} a(9) = 4: N_9 = {0,1,2,3,4,5,6,7,8} -> {0,1,2,3,4,5,6,7,8}, {0,1,2,3,8,9,10,11}, {0,1,4,5,8,9,12,13}, {0,2,4,6,8,10,12,14}
Links
- Bruno L. O. Andreotti, Table of n, a(n) for n = 0..9999
- Bruno L. O. Andreotti, Python program for n = 0 to 128
- Wikipedia, Bitwise OR
Crossrefs
Programs
-
Python
# See Andreotti link.
Formula
Let k(n) = ceiling(log_2(n)) for n > 0, j = 2^k(n)-n, and k(j) = ceiling(log_2(j)) if j > 0, or k(j) = 0 if j = 0. Provably, a(n) = a(j)*binomial(k(n),k(j)).
Comments