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.

A307255 Numbers k such that k is the substring identical to the most significant digits of its base-4 representation.

Original entry on oeis.org

0, 1, 2, 3, 133302001, 132303132012, 131312312013231, 132000312313232, 123111200333000032, 130330012131021302, 131011302011130113, 122132323102303012312, 130030202001033022111, 113333330333220330011201, 121222313212022110233320, 113121021032311213311133001, 120320123012330002303131013
Offset: 1

Views

Author

Scott R. Shannon, Apr 01 2019

Keywords

Comments

Numbers k whose base-4 representation begins with the same digits as k itself.

Examples

			133302001_10 = 13330200123301_4, which also begins with '133302001'.
		

Crossrefs

This is a subsequence of A038104.

Programs

  • Mathematica
    With[{b = 4}, Select[Array[{FromDigits@ #, #} &@ IntegerDigits[#, b] &, b^12, 0], Take[IntegerDigits[First@ #, b], Length@ Last@ #] == Last[#] &][[All, 1]]] (* Michael De Vlieger, Apr 01 2019 *)