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 A366721 #23 Oct 20 2023 06:47:22 %S A366721 1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4, %T A366721 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4, %U A366721 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5 %N A366721 Number of digits left of the radix point of n when written in base Pi using a greedy algorithm representation. %C A366721 More than the usual number of terms are shown to distinguish this sequence from A185679. %H A366721 Paolo Xausa, <a href="/A366721/b366721.txt">Table of n, a(n) for n = 0..10000</a> %H A366721 Wikipedia, <a href="https://en.wikipedia.org/wiki/Non-integer_base_of_numeration">Non-integer base of numeration</a>. %F A366721 a(0) = 1; for n >= 1, a(n) = floor(log_Pi(n)) + 1. %e A366721 a(10) = 3 because 10 in base Pi (100.01022...) has 3 digits before the radix point. %t A366721 A366721[n_]:=Floor[Log[Pi,Max[n,1]]]+1;Array[A366721,200,0] %Y A366721 Cf. A000796, A055642, A185679, A344939, A362692, A363832. %K A366721 nonn,base %O A366721 0,5 %A A366721 _Paolo Xausa_, Oct 17 2023