The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A345361 Numbers that are not palindromes even after removing trailing zeros and are divisible by their reverses. 0

%I #12 Jun 18 2021 12:17:13

%S 510,540,810,2100,4200,5100,5200,5400,5610,5700,5940,6300,8100,8400,

%T 8712,8910,9801,21000,23100,27000,42000,46200,51000,51510,52000,52200,

%U 52800,54000,54540,56100,56610,57000,57200,59400,59940,63000,65340,69300,81000,81810,84000,87120

%N Numbers that are not palindromes even after removing trailing zeros and are divisible by their reverses.

%C Palindromes with or without trailing zeros are trivially divisible their reverses.

%C If k is in the sequence then 10*k is in the sequence. - _David A. Corneth_, Jun 16 2021

%e 510 is divisible by its reverse 15. Thus, 510 is in this sequence.

%o (Python)

%o def pal(s): return s == s[::-1]

%o def rmz(s): return s.strip('0')

%o def ok(n): s = str(n); return not (pal(s) or pal(rmz(s)) or n%int(s[::-1]))

%o print(list(filter(ok, range(82000)))) # _Michael S. Branicky_, Jun 16 2021

%Y Cf. A002113, A004086, A169824.

%K nonn,base

%O 1,1

%A _Tanya Khovanova_, Jun 16 2021

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 15 22:50 EDT 2024. Contains 373412 sequences. (Running on oeis4.)