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.

A339723 Start with a(1)=1. Thereafter, to get a(n), write a(n-1) in binary, write down all its run lengths, and concatenate them in binary, getting k. Then a(n) = k unless k is already in the sequence, in which case a(n) = smallest missing number.

This page as a plain text file.
%I A339723 #21 Dec 18 2020 04:16:48
%S A339723 1,2,3,4,6,5,7,8,9,13,11,14,10,15,12,16,17,18,27,22,29,19,26,23,20,30,
%T A339723 21,31,24,25,28,32,33,34,35,36,54,45,59,37,55,38,53,47,39,40,41,61,42,
%U A339723 63,43,62,44,58,46,48,49,50,51,52,56,57,60,64,65,66,67,68,69
%N A339723 Start with a(1)=1. Thereafter, to get a(n), write a(n-1) in binary, write down all its run lengths, and concatenate them in binary, getting k. Then a(n) = k unless k is already in the sequence, in which case a(n) = smallest missing number.
%H A339723 Finnegan R. Manthe, <a href="https://onlinegdb.com/Bk3erYSnw">Generation Code</a>
%H A339723 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%e A339723 for n=3, a(2) = 2 in binary is 10 with run length 1,1, concatenated is 11 which in base 10 is k=3. So a(3)=3.
%e A339723 For n=7 doing this gives 7 which is already in the sequence (at n=5) so we put 6 as it is the smallest number not already in the sequence.
%Y A339723 Cf. A175930 (concatenated run lengths).
%K A339723 nonn,base
%O A339723 1,2
%A A339723 _Finnegan R. Manthe_, Dec 14 2020