login
A029506
Numbers n such that n divides the (right) concatenation of all numbers <= n written in base 13 (most significant digit on right).
1
1, 3, 9, 15, 21, 25, 35, 47, 48, 87, 240, 320, 672, 896, 1760, 2592, 2688, 3659, 5152, 15456, 16800, 53200, 60288, 75360, 92605, 92736, 121600, 189648, 204176, 334827, 382368, 401472, 443919, 1070720, 1836855, 2010432, 4384128, 5566077
OFFSET
1,2
COMMENTS
This sequence differs from A061942 in that all least significant zeros are kept during concatenation.
No more terms < 10^7. - Lars Blomberg, Oct 07 2011
EXAMPLE
See A029495 for example.
MATHEMATICA
b = 13; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[c, Reverse[IntegerDigits[#, b]]], b], #] &] (* Robert Price, Mar 12 2020 *)
PROG
(PARI) lista(nn, m=13) = my(s, t); for(k=1, nn, s=k; while(s, t=t*m+s%m; s\=m); if(t%k==0, print1(k, ", "))); \\ Jinyuan Wang, Dec 05 2020
KEYWORD
nonn,base
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(33)-a(38) from Lars Blomberg, Oct 07 2011
STATUS
approved