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!)
A354886 Numbers that are palindromes in both ternary and balanced ternary representations with representations that are different. 2
16, 52, 160, 484, 1312, 1456, 3904, 4372, 11680, 12688, 13120, 35008, 37960, 39364, 104992, 106288, 113776, 116800, 118096, 314944, 319156, 341224, 350080, 354292, 944800, 948688, 957760, 1023568, 1027456, 1049920, 1058992, 1062880, 2834368, 2847004, 2873572 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Is a(n) == 16 (mod 18) for all n?
LINKS
FORMULA
a(n) = A091077(n) / 4. - Hugo Pfoertner, Jun 10 2022
EXAMPLE
16 is a term since its ternary representation is 121 and its balanced ternary representation (with 2 standing for the -1 digit) is 1221, and both are palindromes.
MATHEMATICA
Select[Range[0, 3*10^6], PalindromeQ[d3 = IntegerDigits[#, 3]] && PalindromeQ[db3 = balTernDigits[#]] && d3 != db3 &] (* using balTernDigits by Robert G. Wilson v at A134027 *)
CROSSREFS
Equals A354885 \ A005836.
Sequence in context: A211578 A211592 A235653 * A087701 A211586 A232509
KEYWORD
nonn,base
AUTHOR
Amiram Eldar, Jun 10 2022
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 September 9 22:43 EDT 2024. Contains 375765 sequences. (Running on oeis4.)