A029511 Numbers n such that n divides the (right) concatenation of all numbers <= n written in base 18 (most significant digit on right).
1, 2, 3, 6, 9, 17, 25, 65, 85, 160, 169, 175, 187, 221, 325, 856, 1965, 2264, 2309, 3332, 4080, 4182, 6073, 20757, 23392, 47345, 88689, 97846, 672676, 901816, 1317677, 2120393, 8595637
Offset: 1
Examples
See A029495 for example.
Crossrefs
Programs
-
Mathematica
b = 18; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[c, Reverse[IntegerDigits[#, b]]], b], #] &] (* Robert Price, Mar 13 2020 *)
Extensions
Edited and updated by Larry Reeves (larryr(AT)acm.org), Apr 12 2002
Additional comments and more terms from Larry Reeves (larryr(AT)acm.org), May 25 2001
a(29)-a(33) from Lars Blomberg, Oct 11 2011
Comments