[go: up one dir, main page]

login
Revision History for A056744 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(n) is the smallest number which when written in binary contains as substrings the binary expansions of 1..n.
(history; published version)
#76 by OEIS Server at Mon Jun 21 23:35:05 EDT 2021
LINKS

Davis Smith, <a href="/A056744/b056744_1.txt">Table of n, a(n) for n = 1..64</a>

#75 by N. J. A. Sloane at Mon Jun 21 23:35:05 EDT 2021
STATUS

proposed

approved

Discussion
Mon Jun 21
23:35
OEIS Server: Installed new b-file as b056744.txt.  Old b-file is now b056744_1.txt.
#74 by Joerg Arndt at Sun Jun 06 06:49:49 EDT 2021
STATUS

editing

proposed

Discussion
Sun Jun 20
23:31
Sean A. Irvine: I haven't looked too closely at this sequence, but doesn't this amount to finding the appropriate de Bruijn sequence: https://en.wikipedia.org/wiki/De_Bruijn_sequence  (There are already algorithms for doing this)
#73 by Joerg Arndt at Sun Jun 06 06:49:43 EDT 2021
PROG

(PARI)

(PARI)A056744_vec(n)={

STATUS

proposed

editing

#72 by Michel Marcus at Sat Jun 05 14:42:22 EDT 2021
STATUS

editing

proposed

#71 by Michel Marcus at Sat Jun 05 14:42:16 EDT 2021
LINKS

David A. Corneth, <a href="/A056744/a056744.txt">substrings of a(33) and a(36) listed.</a>.

Jon E. Schoenfield, <a href="/A056744/a056744_10.txt">Conjecture on the number of 1's in the binary expansion of a(n)</a>.

Jon E. Schoenfield, <a href="/A056744/a056744_7.txt">Lower bounds on the numbers of 1-bits and 0-bits in a(n), a tabular method for deducing the order in which substrings occur in the binary expansion of a(n), and an approach for accounting for duplicate substrings when a(n) has more than ceiling(n/2) 1-bits, illustrated with a proof of the exact value of a(49).</a>.

Jon E. Schoenfield, <a href="/A056744/a056744_9.txt">Values for n = 1..64 in binary and decimal.</a>.

Davis Smith, <a href="/A056744/a056744_8.txt">Proof that A056744(n) == 2^floor(log_2(n)) (mod 2^(floor(log_2(n))+1)).</a>.

STATUS

proposed

editing

#70 by Davis Smith at Sat Jun 05 13:03:25 EDT 2021
STATUS

editing

proposed

#69 by Davis Smith at Sat Jun 05 12:54:33 EDT 2021
COMMENTS

Conjecture: for n > 1, the binary expansion of a(n) begins with that of 2^floor(log_2(n-1)) + 1.(End)

From Davis Smith, Jun 05 2021: (Start)

For a proof that a(n) == 2^floor(log_2(n)) (mod 2^(floor(log_2(n)) + 1)), see my second link (not the b-file). This also proves the conjecture from May 09 2021 which states that it is congruent to 0 (mod A053644(n)). A proof for the related conjecture would likely rely on an explanation of values of n such that a(n) is not congruent to (2^floor(log_2(n)) - 1)*2^floor(log_2(n)) (mod 2^(2*floor(log_2(n)))), i.e. the binary expansion values of n such that A007088(a(n) ends ) does not end with that a string of floor(log_2^(n)) ones followed immediately by a string of floor(log_2(n))) zeros. A proof for all Jon E. Schoenfield's second conjecture on Jun 03 2021 would satisfy my more restricted second conjecture and it may follow necessarily from my proof, assuming that A007088(a(n)) must begin with either A007088(2^floor(log_2(n - 1)) + 1) or A007088(2^floor(log_2(n, see one of the Smith links))). (End)

LINKS

Davis Smith, <a href="/A056744/b056744_1.txt">Table of n, a(n) for n = 1..6364</a>

STATUS

proposed

editing

Discussion
Sat Jun 05
13:02
Davis Smith: I just added a comment regarding my proof and the implications of it.
#68 by Jon E. Schoenfield at Thu Jun 03 21:37:19 EDT 2021
STATUS

editing

proposed

Discussion
Thu Jun 03
21:38
Jon E. Schoenfield: (I started reading through your proof today, and then decided I needed to try again when I had more time to think through everything.  I can be slow sometimes.)  ?:-/
21:44
Davis Smith: If the proof needs improvement, please let me know, I am a philosophy professor specializing in mathematical logic, so there may be some wording or phrasing which I am unfamiliar with.
21:49
Davis Smith: It centers around a Reductio Ad Absurdum argument, starting with the assumption that a(n) is not congruent to 2^floor(log_2(n)) (mod 2^(floor(log_2(n))+1)). After that there are four different possibilities, two which obviously lead to a contradiction, the other two take some extra reasoning to lead to a contradiction.
21:58
Jon E. Schoenfield: *If* we had a proof that, for n > 1, the binary expansion of a(n) begins with that of k1 = 2^floor(log_2(n-1)) + 1, then there's a very quick and easy proof that a(n)'s binary expansion always ends with that of k2 = 2^floor(log_2(n)): suppose it doesn't end with k2. Then the binary expansion of a(n) starts with k1, has k2 somewhere later, and has some string of additional bits following it. Cut the bit string into two pieces, immediately after the last bit in k2; then swap the positions of the left and right pieces, and shorten the result by having the two pieces overlap by at least one bit (which is always doable). This yields a shorter string of bits that still contains all the required substrings, proving that the original string wasn't really a(n) -- a contradiction.  (But I have no idea how to prove that a(n) starts with k1 for all n > 1. Maybe that would require a much longer proof than your proof that a(n) ends with k2, I don't know.)  ?:-/
22:01
Jon E. Schoenfield: I just now saw your 21:44 and 21:49 posts.  Thanks!  No, I don't see anything needing improvement in your proof.  (I may be needing improvement in my brain!)
22:28
Davis Smith: Jon, I was thinking about doing a similar proof to the one which I posted for the first element of Order(a(n),n) being 2^floor(log_2(n)) + 1 for n >= 2^floor(log_2(n)) + 1 and it being 2^floor(log_2(n - 1)) + 1 for n = 2^floor(log_2(n)).  It would likely follow a very similar logical structure: 1) Assume for Reductio that the first element of Order(a(n),n) is not 2^floor(log_2(n-1)) + 1. 2) Find the different possibilities for that situation. 3) Show that each of these lead to some manner of contradiction (either with the initial assumption or some derived fact).
22:48
Davis Smith: I can say, thinking about the problem a little bit, where b = 2^floor(log_2(n)) + 1 and x is another required substring, Overlap(b,x) = 1 and Overlap(x,b) = m such that m is the position of the least significant 'on' bit in x (2^m is the greatest power of 2 evenly dividing x).
Fri Jun 04
07:31
Davis Smith: O, another option would be to 'kill two birds with one stone' and prove that both the first element of Order(a(n),n) = b1 = 2^floor(log_2(n)) + 1 for n >= 2^floor(log_2(n)) + 1 and 2^floor(log_2(n - 1)) + 1 for n = 2^floor(log_2(n)) and the last element of Order(a(n),n) = b2 = 2^floor(log_2(n)). For this, assume that the first and last elements are neither b1 nor b2. One of these will lead to a contradiction. This gives you that either the first element is b1 and the last is b2 or the first element is b2 and the last is b1. However, the binary expansion of the one starting with b2 will be at least one longer than the binary expansion of the one starting with b1. Thus proving that Order(a(n),n) starts with b1 and ends with b2.
#67 by Jon E. Schoenfield at Thu Jun 03 21:32:40 EDT 2021
COMMENTS

From Jon E. Schoenfield, Jun 03 2021: (Start)

Conjecture: the binary expansion of a(n) contains exactly ceiling(n/2) 1's iff 2^m - 7 <= n <= 2^m + 6 for some integer m >= 3. (See Links.) - _Jon E. Schoenfield_, Jun 03 2021

Conjecture: for n > 1, the binary expansion of a(n) begins with that of 2^floor(log_2(n-1)) + 1.

For a proof that the binary expansion of a(n) ends with that of 2^(floor(log_2(n))) for all n, see one of the Smith links. (End)

EXAMPLE

.

From Jon E. Schoenfield, Jun 03 2021: (Start)

Conjecture: for n > 1, the binary expansion of a(n) begins with that of 2^floor(log_2(n-1)) + 1.

For a proof that the binary expansion of a(n) ends with that of 2^(floor(log_2(n))) for all n, see one of the Smith links. (End)

Discussion
Thu Jun 03
21:35
Jon E. Schoenfield: I've uploaded an updated version of the file containing a table of the binary and decimal values (and numbers of 0- and 1-bits), using the values from the b-file.  I've also moved most of the content of my recent Comments section addition to a file in the Links.  Additionally, I've shortened the table in the Example section (since we have a longer table in the Links).  Also, I've taken some of the content I had put in the Example section earlier and moved it to the Comments section instead, because it seems to fit better there.
21:37
Jon E. Schoenfield: @Davis, rather than having it in my Comments entry, do you think it'd be better if there were a comment from you in the Comments section regarding your proof?