%I A061797
%S A061797 1,2,1,2,1,4,1,98,1,74,2,2,5,154,49,4,5,38,37,34,1,286,1,36,25,8,77,
%T A061797 329144,31,16,2,28,25,2,19,196,23,6,17,154,1,542,143,1602,1,148,18,6,
%U A061797 88,14,4,824,77,8,164572,4,143,1198,8,1154,1,1126,14,962,66,308,1,998
%N A061797 Smallest k such that k*n has even digits and is a palindrome or becomes
a palindrome when 0's are added on the left.
%C A061797 Every integer n has a multiple of the form 99...9900...00. To see that
n has a multiple that's a palindrome (allowing 0's on the left) with
even digits, let 9n divide 99...9900...00; then n divides 22...2200...00.
- Dean Hickerson, Jun 29, 2001.
%H A061797 P. De Geest, <a href="http://www.worldofnumbers.com/em36.htm">Smallest
multipliers to make a number palindromic</a>.
%e A061797 a(12) = 5 since 5*12 = 60 (i.e. 060) is a palindrome.
%o A061797 (ARIBAS): stop := 500000; for n := 0 to 75 do k := 1; test := true; while
test and k < stop do m := omit_trailzeros(n*k); if test := not all_even(m)
or m <> int_reverse(m) then inc(k); end; end; if k < stop then write(k,
" "); else write(-1," "); end; end;
%Y A061797 Cf. A050782, A062293 A061674. Values of k*n are given in A062293.
%Y A061797 Sequence in context: A067044 A055684 A024559 this_sequence A068341 A100380
A080825
%Y A061797 Adjacent sequences: A061794 A061795 A061796 this_sequence A061798 A061799
A061800
%K A061797 nonn,base,easy,nice
%O A061797 0,2
%A A061797 Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jun 17 2001
%E A061797 More terms from Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Jun
27 2001
|