A061956 Numbers n such that n divides the (left) concatenation of all numbers <= n written in base 3 (most significant digit on right).
1, 4, 7, 11, 56, 104, 340, 17467, 19136, 125533, 230857
Offset: 1
Examples
See A061955 for example.
Crossrefs
Programs
-
Mathematica
b = 3; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[Reverse[IntegerDigits[#, b]], c], b], #] &] (* Robert Price, Mar 07 2020 *)
Extensions
Edited and updated by Larry Reeves (larryr(AT)acm.org), Apr 12 2002
Comments