A061935 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, 11, 35, 55, 80, 135, 145, 160, 560, 735, 1016, 29787, 31360, 60095, 111625, 165705, 192140, 225280, 618701, 780230, 5503475
Offset: 1
Examples
See A061931 for example.
Crossrefs
Programs
-
Mathematica
b = 6; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[c, IntegerDigits[IntegerReverse[#, b], b]], b], #] &] (* Robert Price, Mar 07 2020 *)
Extensions
Edited and updated by Larry Reeves (larryr(AT)acm.org), Apr 12 2002
a(22)-a(24) from Lars Blomberg, Oct 17 2011
Comments