cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A317586 Number of circular binary words of length n having the maximum possible number of distinct blocks of length floor(log_2 n) and floor(log_2 n)+1.

This page as a plain text file.
%I A317586 #40 Mar 14 2024 04:57:40
%S A317586 2,1,2,1,2,3,4,2,4,3,6,13,12,20,32,16,32,36,68,141,242,407,600,898,
%T A317586 1440,1812,2000,2480,2176,2816,4096,2048,4096,3840,7040,13744,28272,
%U A317586 54196,88608,160082,295624,553395,940878,1457197,2234864,3302752,4975168,7459376
%N A317586 Number of circular binary words of length n having the maximum possible number of distinct blocks of length floor(log_2 n) and floor(log_2 n)+1.
%C A317586 A circular binary word (a.k.a. "necklace") can be viewed as a representative of the equivalence class under cyclic shift.
%C A317586 The words counted by this sequence have 2^i distinct blocks of length i = floor(log_2 n) and n distinct blocks of length i+1.
%C A317586 This sequence counts a certain natural generalization of de Bruijn words, which are cyclic words of length 2^n containing all n-bit blocks as subwords.
%H A317586 D. Gabric, S. Holub, and J. Shallit, <a href="https://arxiv.org/abs/1903.05442">Generalized de Bruijn words and the state complexity of conjugate sets</a>, arXiv:1903.05442 [cs.FL], March 13 2019.
%e A317586 For n = 6 the 3 possibilities are {000111, 001011, 001101}.  Each contains all 4 blocks of length 2, and 6 distinct blocks of length 3 (when considered circularly).
%Y A317586 Cf. A016031, which gives the value of this sequence evaluated at powers of 2.
%Y A317586 Cf. A318687.
%K A317586 nonn
%O A317586 1,1
%A A317586 _Jeffrey Shallit_, Aug 01 2018
%E A317586 Terms a(33)-a(48) provided by Štěpán Holub