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.

A181986 Digitally balanced numbers: ternary numbers which have the same number of 0's as 1's as 2's.

Original entry on oeis.org

102, 120, 201, 210, 100122, 100212, 100221, 101022, 101202, 101220, 102012, 102021, 102102, 102120, 102201, 102210, 110022, 110202, 110220, 112002, 112020, 112200, 120012, 120021, 120102, 120120, 120201, 120210, 121002, 121020, 121200, 122001, 122010, 122100
Offset: 1

Views

Author

Jonathan Vos Post, Apr 04 2012

Keywords

Comments

This is to A071925 as base 3 A007089 is to base 2 A007088. A049354 digitally balanced numbers in base 3: equal numbers of 0's, 1's, 2's, beginning 11, 15, 19, 21, 260, ... is the same sequence, but expressed in base 10. The terms of this sequence are represented directly in base 3.

Examples

			100122 is an element because it contains two each of "0" and "1" and "2".
		

Crossrefs

Programs

  • Mathematica
    Select[FromDigits/@Flatten[Permutations/@Table[PadRight[{},3n,{0,1,2}],{n,2}],1],Mod[IntegerLength[#],3]==0&]//Sort (* Harvey P. Dale, Mar 15 2020 *)

Extensions

More terms from Alois P. Heinz, Apr 05 2012