A029521 Numbers k such that k divides the (left) concatenation of all numbers <= k written in base 4 (most significant digit on right and removing all least significant zeros before concatenation).
1, 3, 15, 969, 1107, 136193, 538019, 2177475, 2799315, 5948555
Offset: 1
Examples
See A029519 for example.
Crossrefs
Programs
-
Mathematica
b = 4; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[IntegerDigits[IntegerReverse[#, b], b], c], b], #] &] (* Robert Price, Mar 13 2020 *)
Extensions
Edited and updated by Larry Reeves (larryr(AT)acm.org), Apr 12 2002; Aug 25 2002
a(8)-a(10) from Lars Blomberg, Sep 02 2011
Comments