|
|
A307256
|
|
Numbers k such that k is the substring identical to the most significant digits of its base-5 representation.
|
|
4
|
|
|
0, 1, 2, 3, 4, 124343, 124401, 132114, 10032011, 20122404, 30213311, 40304213, 1333204002110, 1411043040042, 101232041210022, 203110224214344, 210011311131122, 304342321033141, 311243402442011, 311300321024140, 413122042420324, 420023124324311, 14233443213321013401
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
Numbers k whose base-5 representation begins with the same digits as k itself.
|
|
LINKS
|
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|