A029500 Numbers n such that n divides the (right) concatenation of all numbers <= n written in base 7 (most significant digit on right).
1, 3, 11, 16, 48, 480, 947, 1111, 1137, 1367, 2125, 6351, 6841, 8209, 11392, 32931, 166413, 173904, 263547, 284047, 634832, 690589, 2495931, 6696245, 7004640
Offset: 1
Examples
See A029495 for example.
Crossrefs
Programs
-
Mathematica
b = 7; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[c, Reverse[IntegerDigits[#, b]]], b], #] &] (* Robert Price, Mar 12 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(21)-a(25) from Lars Blomberg, Oct 03 2011
Comments