[go: up one dir, main page]

login
A029501
Numbers n such that n divides the (right) concatenation of all numbers <= n written in base 8 (most significant digit on right).
1
1, 2, 4, 6, 7, 11, 182, 427, 649, 859, 1559, 5579, 10577, 11830, 19915, 533022, 546690, 569462, 673682, 1050721, 1233092, 1621270, 1771002, 9151954
OFFSET
1,2
COMMENTS
This sequence differs from A061937 in that all least significant zeros are kept during concatenation.
No more terms < 10^7. - Lars Blomberg, Oct 04 2011
EXAMPLE
See A029495 for example.
MATHEMATICA
b = 8; 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; Aug 25, 2002
a(19)-a(24) from Lars Blomberg, Oct 04 2011
STATUS
approved