Find palindromic numbers in both binary and ternary bases
Instead of searching for numbers that are palindromes in one base then checking the other, generate palindromic trinary numbers directly, then check to see if they are also binary palindromes (with additional simplifying constraints as noted in other entries). Outputs the list in decimal, binary and trinary.
Output:
PreviousFind minimum number of coins that make a given valueNextFind prime n such that reversed n is also prime
Last updated