|
|
A345386
|
|
Non-palindromes whose largest proper divisor is a nontrivial (not a single-digit) palindrome.
|
|
1
|
|
|
110, 132, 154, 165, 176, 198, 231, 275, 297, 302, 322, 342, 362, 382, 385, 423, 453, 483, 504, 513, 524, 539, 543, 544, 564, 573, 584, 605, 655, 706, 726, 746, 755, 766, 786, 805, 847, 905, 908, 917, 928, 948, 955, 968, 988, 1010, 1029, 1030, 1050, 1057, 1059, 1070
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Contains A075407 (Non-palindromic numbers such that the largest proper divisor is a palindrome having at least two digits and no other divisor is a palindrome with at least two digits) as a subsequence.
Two-digit numbers divisible by nontrivial palindromes are divisible by 11 and are palindromes themselves. Thus, the smallest number in this sequence has at least three digits.
The first nine terms are divisible by 11, but the tenth term (302) is not. Its largest proper divisor is 151.
|
|
LINKS
|
|
|
EXAMPLE
|
The largest proper divisor of the non-palindrome 110 is a nontrivial palindrome 55. Thus, 110 is in this sequence.
The largest nontrivial divisor of the non-palindrome 143 is 13. Thus, though 143 is divisible by 11 it is not in this sequence.
|
|
PROG
|
(Python)
from sympy import divisors
def ispal(s): return s == s[::-1]
def ok(n):
if ispal(str(n)): return False
lpd = divisors(n)[-2]
return lpd > 10 and ispal(str(lpd))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|