A029499 Numbers n such that n divides the (right) concatenation of all numbers <= n written in base 6 (most significant digit on right).
1, 2, 3, 5, 37, 73, 80, 104, 135, 149, 160, 170, 2860, 3547, 63335, 112405, 198734, 703957, 1353979
Offset: 1
Examples
See A029495 for example.
Crossrefs
Programs
-
Mathematica
b = 6; 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(18)-a(19) from Lars Blomberg, Oct 03 2011
Comments