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!)
A325323 Palindromes in base 10 that are not Brazilian. 2
1, 2, 3, 4, 5, 6, 9, 11, 101, 131, 151, 181, 191, 313, 353, 373, 383, 727, 787, 797, 919, 929, 10201, 10301, 10501, 10601, 11311, 11411, 12421, 12721, 12821, 13331, 13831, 13931, 14341, 14741, 15451, 15551, 16061, 16361, 16561, 16661, 17471, 17971, 18181, 18481, 19391, 19891, 19991 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The terms >= 11 of this sequence are either prime palindromes which are not Brazilian, or square of primes (except 121).
LINKS
MATHEMATICA
brazQ[n_] := Module[{b = 2, found = False}, While[b < n - 1 && Length @ Union[IntegerDigits[n, b]] > 1, b++]; b < n - 1]; Select[Range[20000], PalindromeQ[#] && !brazQ[#] &] (* Amiram Eldar, Apr 14 2021 *)
PROG
(PARI) isb(n) = for(b=2, n-2, my(d=digits(n, b)); if(vecmin(d)==vecmax(d), return(1))); \\ A125134
isp(n) = my(d=digits(n)); d == Vecrev(d); \\ A002113
isok(n) = !isb(n) && isp(n); \\ Michel Marcus, Apr 22 2019
CROSSREFS
Intersection of A002113 and A220570.
Complement of A325322 with respect to A002113.
Cf. A088882 (Palindromes not repdigits).
Sequence in context: A220570 A341057 A299297 * A331016 A125155 A365416
KEYWORD
nonn,base
AUTHOR
Bernard Schott, Apr 20 2019
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 May 14 17:26 EDT 2024. Contains 372533 sequences. (Running on oeis4.)