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.

A030584 (# 3's)-(# 4's) in first n terms of A030567.

This page as a plain text file.
%I A030584 #6 Aug 07 2025 13:58:43
%S A030584 0,0,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,1,2,2,
%T A030584 3,4,5,4,5,5,6,6,5,5,4,4,3,4,3,2,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,
%U A030584 0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0
%N A030584 (# 3's)-(# 4's) in first n terms of A030567.
%t A030584 Accumulate[Which[#==3,1,#==4,-1,True,0]&/@Flatten[Table[Reverse[IntegerDigits[n,6]],{n,50}]]] (* _Harvey P. Dale_, Aug 07 2025 *)
%K A030584 nonn
%O A030584 1,33
%A A030584 _Clark Kimberling_