Rosetta Code

Find palindromic numbers in both binary and ternary bases

Search for numbers whose binary and ternary representations are both palindromes.

Edit the source, then Run. Checks start after your first Run. Ctrl/⌘ + Enter runs; Tab indents. Preview services use sample data and never contact a real service.

rosettacode/popular/find_palindromic_numbers_in_both_binary_and_ternary_bases.vibe
Output
Click Run example to see the result.

Code checks

Run once to load the checker. Your code stays in this browser.