OFFSET
1,2
COMMENTS
Singh proves that there is no solution to 3^a + 3^b + 2 = n^5, when the pairs (a; b) are both even, or one is even and the other is odd. And more generally apart from the exception 2^5 = 3^3 + 3^1 + 2, the Diophantine equation 3^a+3^b+2 = n^5, where GCD(n, 3) = 1 and a > b > 0, is insoluble for 2 < n <= 2 + 6*10^6 (see Singh link).
LINKS
Satyanand Singh, Perfect Powers of Five with Few Ternary Digits, arXiv:1304.5020 [math.NT], 2013.
MATHEMATICA
Table[FromDigits[IntegerDigits[n^5, 3]], {n, 25}] (* T. D. Noe, Apr 19 2013 *)
PROG
(PARI) a(n) = fromdigits(digits(n^5, 3), 10); \\ Michel Marcus, Oct 07 2019
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Marcus, Apr 19 2013
STATUS
approved