A029510 Numbers n such that n divides the (right) concatenation of all numbers <= n written in base 17 (most significant digit on right).
1, 19, 27, 45, 64, 111, 192, 243, 320, 1152, 2112, 3456, 10747, 11328, 13824, 16896, 18909, 177408, 306335, 338369, 414336, 423552, 1176203, 2965056
Offset: 1
Examples
See A029495 for example.
Crossrefs
Programs
-
Mathematica
b = 17; 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(22)-a(24) from Lars Blomberg, Oct 09 2011
Comments