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.

A030567 Triangle T(n,k): Write n in base 6 and reverse order of digits to get row n.

This page as a plain text file.
%I A030567 #27 Jul 22 2025 17:32:24
%S A030567 0,1,2,3,4,5,0,1,1,1,2,1,3,1,4,1,5,1,0,2,1,2,2,2,3,2,4,2,5,2,0,3,1,3,
%T A030567 2,3,3,3,4,3,5,3,0,4,1,4,2,4,3,4,4,4,5,4,0,5,1,5,2,5,3,5,4,5,5,5,0,0,
%U A030567 1,1,0,1,2,0,1,3,0,1,4,0,1,5,0,1,0,1,1,1,1,1,2
%N A030567 Triangle T(n,k): Write n in base 6 and reverse order of digits to get row n.
%C A030567 If columns are numbered starting with k=0, then T(n,k) contains the coefficient of 6^k in n's base-6 expansion. - _M. F. Hasler_, Jul 21 2013
%H A030567 R. J. Mathar, <a href="/A030567/b030567.txt">Table of n, a(n) for n = 0..5950</a>
%t A030567 Flatten[Table[Reverse[IntegerDigits[n,6]],{n,0,50}]] (* _Harvey P. Dale_, Sep 27 2015 *)
%o A030567 (PARI) A030567(n,k=-1)=/*k<0&&error("Flattened sequence not yet implemented.")*/n\6^k%6 \\ Assuming that columns start with k=0, cf. comment. TO DO: implement flattened sequence, such that A030567(n)=a(n). - _M. F. Hasler_, Jul 21 2013
%Y A030567 See A030548 for a quite complete list of crossreferences.
%Y A030567 Cf. A030568 - A030573 for positions of a given digit.
%Y A030567 Cf. A030575 - A030580 for run lengths, A030581 - A030585 for more.
%Y A030567 Row sums (same as those of A030548) are in A053827.
%Y A030567 Cf. A030308, A030341, A030386, A031235, A031007, A031045, A031087, A031298 for the base-2 to base-10 analogs.
%K A030567 nonn,base,tabf,less
%O A030567 0,3
%A A030567 _Clark Kimberling_
%E A030567 Initial 0 and better name from _Philippe Deléham_, Oct 20 2011
%E A030567 Edited and crossrefs added by _M. F. Hasler_, Jul 21 2013