OFFSET
1,3
COMMENTS
Numbers k whose base-5 representation begins with the same digits as k itself.
LINKS
Scott R. Shannon, Table of n, a(n) for n = 1..500
EXAMPLE
132114_10 = 13211424_5, which also begins with '132114'.
MATHEMATICA
With[{b = 5}, Select[Array[{FromDigits@ #, #} &@ IntegerDigits[#, b] &, b^10, 0], Take[IntegerDigits[First@ #, b], Length@ Last@ #] == Last[#] &][[All, 1]]] (* Michael De Vlieger, Apr 01 2019 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Scott R. Shannon, Apr 01 2019
STATUS
approved