|
|
A029521
|
|
Numbers k such that k divides the (left) concatenation of all numbers <= k written in base 4 (most significant digit on right).
|
|
1
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
This sequence differs from A061957 in that all least significant zeros are removed before concatenation.
|
|
LINKS
|
|
|
EXAMPLE
|
|
|
MATHEMATICA
|
b = 4; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[IntegerDigits[IntegerReverse[#, b], b], c], b], #] &] (* Robert Price, Mar 13 2020 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Edited and updated by Larry Reeves (larryr(AT)acm.org), Apr 12 2002; Aug 25 2002
|
|
STATUS
|
approved
|
|
|
|