OFFSET
1,2
EXAMPLE
a(2) = 325 = 1^2 + 18^2 = 6^2 + 17^2 = 10^2 + 15^2.
a(3) = 5104 = 1^3 + 12^3 + 15^3 = 2^3 + 10^3 + 16^3 = 9^3 + 10^3 + 15^3.
PROG
(Python)
from itertools import count
from sympy.solvers.diophantine.diophantine import power_representation
def A374257(n): return next(m for m in count(1) if len(list(power_representation(m, n, n)))==3) if n>1 else -1 # Chai Wah Wu, Jul 01 2024
CROSSREFS
KEYWORD
sign,more
AUTHOR
Ilya Gutkovskiy, Jul 01 2024
EXTENSIONS
a(7) from Michael S. Branicky, Jul 09 2024
STATUS
approved