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.
%I A377648 #6 Nov 04 2024 12:51:13 %S A377648 1,1,2,1,1,2,1,2,1,2,2,1,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,3,1,2,3,1,2,3, %T A377648 1,2,3,1,2,3,1,2,3,2,1,2,3,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1, %U A377648 2,3,3,1,2,3,3,1,2,3,3,1,2,3,3,1,2,3,3 %N A377648 Parse Golomb's sequence (A001462) into distinct phrases [1], [2], [2, 3], [3], [4], [4, 4], [5], [5, 5], ...; a(n) is the length of n-th phrase. %C A377648 For any w > 0, we have some k such that a(k) = 1, a(k+1) = 2, ..., a(k+w-1) = w. %H A377648 Rémy Sigrist, <a href="/A377648/b377648.txt">Table of n, a(n) for n = 1..10000</a> %H A377648 Rémy Sigrist, <a href="/A377648/a377648.png">Ordinal transform of the first 100000 terms</a> %H A377648 Rémy Sigrist, <a href="/A377648/a377648.gp.txt">PARI program</a> %e A377648 The first terms, alongside the corresponding phrases, are: %e A377648 n a(n) Corresponding phrases %e A377648 -- ---- --------------------- %e A377648 1 1 1 %e A377648 2 1 2 %e A377648 3 2 2, 3 %e A377648 4 1 3 %e A377648 5 1 4 %e A377648 6 2 4, 4 %e A377648 7 1 5 %e A377648 8 2 5, 5 %e A377648 9 1 6 %e A377648 10 2 6, 6 %e A377648 11 2 6, 7 %e A377648 12 1 7 %e A377648 13 2 7, 7 %e A377648 14 1 8 %e A377648 15 2 8, 8 %o A377648 (PARI) \\ See Links section. %Y A377648 See A187199 for a similar sequence. %Y A377648 Cf. A001462. %K A377648 nonn %O A377648 1,3 %A A377648 _Rémy Sigrist_, Nov 03 2024