A061958 Numbers n such that n divides the (left) concatenation of all numbers <= n written in base 5 (most significant digit on right).
1, 32, 304, 639, 704, 903, 3151, 4112, 6713, 34992, 96977, 2628797, 3070243, 3661679, 8665399
Offset: 1
Examples
See A061955 for example.
Crossrefs
Programs
-
Mathematica
b = 5; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[Reverse[IntegerDigits[#, b]], c], b], #] &] (* Robert Price, Mar 07 2020 *)
Extensions
Edited and updated by Larry Reeves (larryr(AT)acm.org), Apr 12 2002
a(12)-a(15) from Lars Blomberg, Aug 26 2011
Comments