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.

A037829 Number of i such that d(i) >= d(i-1), where Sum_{i=0..m} d(i)*6^i is the base-6 representation of n.

This page as a plain text file.
%I A037829 #10 Jul 23 2023 18:23:13
%S A037829 0,0,0,0,0,1,1,0,0,0,0,1,1,1,0,0,0,1,1,1,1,0,0,1,1,1,1,1,0,1,1,1,1,1,
%T A037829 1,2,1,1,1,1,1,2,2,1,1,1,1,1,1,1,0,0,0,1,1,1,1,0,0,1,1,1,1,1,0,1,1,1,
%U A037829 1,1,1,2,1,1,1,1,1,2,2,1,1,1,1,2,2,2,1,1,1,1
%N A037829 Number of i such that d(i) >= d(i-1), where Sum_{i=0..m} d(i)*6^i is the base-6 representation of n.
%p A037829 A037829 := proc(n)
%p A037829     a := 0 ;
%p A037829     dgs := convert(n,base,6);
%p A037829     for i from 2 to nops(dgs) do
%p A037829         if op(i,dgs)>=op(i-1,dgs) then
%p A037829             a := a+1 ;
%p A037829         end if;
%p A037829     end do:
%p A037829     a ;
%p A037829 end proc: # _R. J. Mathar_, Oct 16 2015
%Y A037829 Cf. A038713.
%K A037829 nonn,base
%O A037829 1,36
%A A037829 _Clark Kimberling_
%E A037829 Sign in Name corrected by _R. J. Mathar_, Oct 16 2015