login
A029496
Numbers n such that n divides the (right) concatenation of all numbers <= n written in base 3 (most significant digit on right).
1
1, 7, 8, 112, 424, 595, 1997, 2336, 2455, 33265, 2475701, 9363208, 15402464
OFFSET
1,2
COMMENTS
This sequence differs from A061932 in that all least significant zeros are kept during concatenation.
No more terms < 10^7. [Lars Blomberg, Oct 02 2011]
EXAMPLE
See A029495 for example.
MATHEMATICA
b = 3; c = {}; Select[Range[10^4], Divisible[FromDigits[
c = Join[c, Reverse[IntegerDigits[#, b]]], b], #] &] (* Robert Price, Mar 12 2020 *)
KEYWORD
nonn,base
EXTENSIONS
Edited and updated by Larry Reeves (larryr(AT)acm.org), Apr 12 2002
Additional comments from Larry Reeves (larryr(AT)acm.org), May 25 2001
a(10) from Larry Reeves, Jan 16 2002
a(11)-a(12) from Lars Blomberg, Oct 02 2011
a(13) from Chai Wah Wu, Jul 28 2020
STATUS
approved