|
|
A061940
|
|
Numbers n such that n divides the (right) concatenation of all numbers <= n written in base 11 (most significant digit on right).
|
|
1
|
|
|
1, 5, 17, 20, 35, 40, 60, 75, 113, 120, 125, 395, 512, 1204, 2285, 5451, 5648, 12736, 36547, 113675, 1073605, 1466089, 3610208, 4076745
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
This sequence differs from A029504 in that all least significant zeros are removed before concatenation.
|
|
LINKS
|
|
|
EXAMPLE
|
|
|
MATHEMATICA
|
b = 11; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[c, IntegerDigits[IntegerReverse[#, b], b]], b], #] &] (* Robert Price, Mar 08 2020 *)
|
|
PROG
|
(PARI) lista(nn) = my(t=[]); for(k=1, nn, t=concat(t, Vecrev(digits(k/11^valuation(k, 11), 11))); if(Mod(fromdigits(t, 11), k)==0, print1(k, ", "))); \\ Jinyuan Wang, Dec 05 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
Larry Reeves (larryr(AT)acm.org), May 24 2001
|
|
EXTENSIONS
|
Edited and updated by Larry Reeves (larryr(AT)acm.org), Apr 12 2002
|
|
STATUS
|
approved
|
|
|
|