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!)
A046350 Odd composite numbers with only palindromic prime factors. 3
9, 15, 21, 25, 27, 33, 35, 45, 49, 55, 63, 75, 77, 81, 99, 105, 121, 125, 135, 147, 165, 175, 189, 225, 231, 243, 245, 275, 297, 303, 315, 343, 363, 375, 385, 393, 405, 441, 453, 495, 505, 525, 539, 543, 567, 573, 605, 625, 655, 675, 693, 707, 729, 735, 755 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
palQ[n_]:=Reverse[x=IntegerDigits[n]]==x; Select[Range[9, 755, 2], !PrimeQ[#]&&And@@palQ/@First/@FactorInteger[#]&] (* Jayanta Basu, Jun 05 2013 *)
Select[Range[9, 800, 2], CompositeQ[#]&&AllTrue[FactorInteger[#][[All, 1]], PalindromeQ]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Mar 08 2018 *)
PROG
(Python)
from sympy import isprime, primefactors
def pal(n): s = str(n); return s == s[::-1]
def ok(n): return not isprime(n) and all(pal(f) for f in primefactors(n))
print(list(filter(ok, range(9, 756, 2)))) # Michael S. Branicky, Apr 06 2021
CROSSREFS
Sequence in context: A155474 A100819 A046446 * A225438 A175076 A046337
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Jun 15 1998
STATUS
approved

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 July 14 10:56 EDT 2024. Contains 374318 sequences. (Running on oeis4.)