|
Search: id:A062279
|
|
|
| A062279 |
|
Smallest multiple k*n of n which is a palindrome or becomes a palindrome when 0's are added on the left (e.g. 10 becomes 010 which is a palindrome). |
|
+0 5
|
|
| 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 60, 494, 70, 30, 80, 272, 90, 171, 20, 252, 22, 161, 600, 50, 494, 999, 252, 232, 30, 434, 800, 33, 272, 70, 252, 111, 494, 585, 40, 656, 252, 989, 44, 90, 414, 141, 2112, 343, 50, 969, 676, 212, 9990, 55, 616, 171, 232, 767
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
COMMENT
|
Every positive integer is a factor of a palindrome, unless it is a multiple of 10 (D. G. Radcliffe, see Links).
|
|
LINKS
|
P. De Geest, Smallest multipliers to make a number palindromic.
|
|
EXAMPLE
|
a(13) = 494 is the smallest multiple of 13 which is a palindrome.
|
|
PROGRAM
|
(ARIBAS): maxarg := 60; stop := 200000; for n := 0 to maxarg do k := 1; test := true; while test and k < stop do m := omit_trailzeros(n*k); if test := m <> int_reverse(m) then inc(k); end; end; if k < stop then write(n*k, " "); else write(-1, " "); end; end;
|
|
CROSSREFS
|
Cf. A050782, A062293. Values of k are given in A061674.
Adjacent sequences: A062276 A062277 A062278 this_sequence A062280 A062281 A062282
Sequence in context: A161949 A004851 A066638 this_sequence A088599 A004862 A068634
|
|
KEYWORD
|
nonn,base,easy,nice
|
|
AUTHOR
|
Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jun 17 2001
|
|
EXTENSIONS
|
Corrected and extended by Larry Reeves (larryr(AT)acm.org) and Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Jun 18 2001
|
|
|
Search completed in 0.002 seconds
|