|
|
A083466
|
|
Smallest nontrivial multiple of n ending in n. By nontrivial one means a(n) is not equal to n or concatenation of n with itself.
|
|
1
|
|
|
21, 12, 63, 24, 15, 36, 147, 48, 189, 110, 2211, 312, 2613, 714, 315, 416, 3417, 918, 3819, 120, 4221, 1122, 4623, 624, 125, 1326, 5427, 728, 5829, 330, 6231, 832, 6633, 1734, 735, 936, 7437, 1938, 7839, 240, 8241, 2142, 8643, 1144, 945
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MAPLE
|
ndgs := convert(n, base, 10) ;
for k from 2 do
if k*n <> digcat2(n, n) then
kdgs := convert(k*n, base, 10) ;
mtch := true ;
for i from 1 to nops(ndgs) do
if op(i, ndgs) <> op(i, kdgs) then
mtch := false;
break;
end if;
end do:
if mtch then
return k*n ;
end if;
end if;
end do:
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), May 02 2003
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|