login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A061674 Smallest k such that k*n is a palindrome or becomes a palindrome when 0's are added on the left. 2
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 38, 5, 2, 5, 16, 5, 9, 1, 12, 1, 7, 25, 2, 19, 37, 9, 8, 1, 14, 25, 1, 8, 2, 7, 3, 13, 15, 1, 16, 6, 23, 1, 2, 9, 3, 44, 7, 1, 19, 13, 4, 185, 1, 11, 3, 4, 13, 1, 442, 7, 4, 33, 9, 1, 11, 4, 6, 1, 845, 35, 4, 3, 4, 65, 1, 11, 6, 1, 12345679, 8, 9, 3 (list; graph; refs; listen; history; internal format)
OFFSET

0,13

COMMENTS

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(12) = 5 since 5*12 = 60 (i.e. 060) is a palindrome.

PROG

(ARIBAS): stop := 50000000; for n := 0 to 100 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(k, " "); else write(-1, " "); end; end;

CROSSREFS

Cf. A050782, A062293. Values of k*n are given in A062279.

Sequence in context: A089795 A081971 A086877 * A097276 A145156 A163698

Adjacent sequences:  A061671 A061672 A061673 * A061675 A061676 A061677

KEYWORD

nonn,base,easy,nice

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jun 17 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 00:09 EST 2012. Contains 205978 sequences.