login
A307255
Numbers k such that k is the substring identical to the most significant digits of its base-4 representation.
5
0, 1, 2, 3, 133302001, 132303132012, 131312312013231, 132000312313232, 123111200333000032, 130330012131021302, 131011302011130113, 122132323102303012312, 130030202001033022111, 113333330333220330011201, 121222313212022110233320, 113121021032311213311133001, 120320123012330002303131013
OFFSET
1,3
COMMENTS
Numbers k whose base-4 representation begins with the same digits as k itself.
LINKS
EXAMPLE
133302001_10 = 13330200123301_4, which also begins with '133302001'.
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 *)
CROSSREFS
This is a subsequence of A038104.
Sequence in context: A235984 A120313 A216981 * A176649 A216979 A334822
KEYWORD
nonn,base
AUTHOR
Scott R. Shannon, Apr 01 2019
STATUS
approved