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!)
A325322 Palindromes in base 10 that are Brazilian. 2
7, 8, 22, 33, 44, 55, 66, 77, 88, 99, 111, 121, 141, 161, 171, 202, 212, 222, 232, 242, 252, 262, 272, 282, 292, 303, 323, 333, 343, 363, 393, 404, 414, 424, 434, 444, 454, 464, 474, 484, 494, 505, 515, 525, 535, 545, 555, 565, 575, 585, 595, 606, 616, 626, 636, 646, 656, 666, 676, 686, 696, 707, 717, 737 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Among the terms of this sequence, there are (not exhaustive):
- the even palindromes >= 8,
- the palindromes >= 55 that end with 5,
- the palindromes >= 22 with an even number of digits for they are divisible by 11, and also,
- the palindromes that are Brazilian primes such as 7, 757, 30103, ...
LINKS
EXAMPLE
141 = (33)_46 is a palindrome that is Brazilian.
MATHEMATICA
brazQ[n_] := Module[{b = 2, found = False}, While[b < n - 1 && Length @ Union[IntegerDigits[n, b]] > 1, b++]; b < n - 1]; Select[Range[1000], 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 A125134.
Complement of A325323 with respect to A002113.
Cf. A288068 (subsequence).
Sequence in context: A132899 A051175 A322651 * A288068 A058537 A002362
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 April 24 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)