login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A029511
Numbers n such that n divides the (right) concatenation of all numbers <= n written in base 18 (most significant digit on right).
1
1, 2, 3, 6, 9, 17, 25, 65, 85, 160, 169, 175, 187, 221, 325, 856, 1965, 2264, 2309, 3332, 4080, 4182, 6073, 20757, 23392, 47345, 88689, 97846, 672676, 901816, 1317677, 2120393, 8595637
OFFSET
1,2
COMMENTS
This sequence differs from A061947 in that all least significant zeros are kept during concatenation.
No more terms < 10^7. [Lars Blomberg, Oct 11 2011]
EXAMPLE
See A029495 for example.
MATHEMATICA
b = 18; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[c, Reverse[IntegerDigits[#, b]]], b], #] &] (* Robert Price, Mar 13 2020 *)
KEYWORD
nonn,base,more
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(29)-a(33) from Lars Blomberg, Oct 11 2011
STATUS
approved