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”).

A029497
Numbers k such that k divides the (right) concatenation of all numbers <= k written in base 4 (most significant digit on right).
1
1, 2, 3, 11, 207, 1239, 7947, 9233, 49883, 118669, 315629, 2640670
OFFSET
1,2
COMMENTS
This sequence differs from A061933 in that all least significant zeros are kept during concatenation.
a(13) exceeds 10000000. - Sean A. Irvine, Sep 01 2009
EXAMPLE
See A029495 for example.
MATHEMATICA
b = 4; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[c, Reverse[IntegerDigits[#, b]]], b], #] &] (* Robert Price, Mar 12 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(12) from Sean A. Irvine, Sep 01 2009
STATUS
approved