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
Amiram Eldar, Table of n, a(n) for n = 1..1000
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
KEYWORD
nonn,base
AUTHOR
Bernard Schott, Apr 20 2019
STATUS
approved