login
A273546
Integers n such that n^n is the average of a nonzero square and a positive cube.
0
0, 1, 4, 6, 8, 9, 12, 13, 14, 18, 24, 25
OFFSET
1,3
COMMENTS
Integers n such that n^n = (x^2 + y^3)/2 where x, y > 0, is soluble.
EXAMPLE
13 is a term because 13^13 = (24134045^2 + 28561^3)/2.
PROG
(PARI) isA055394(n)=for(k=1, sqrtnint(n-1, 3), if(issquare(n-k^3), return(1))); 0
is(n)=isA055394(2*n^n) \\ Charles R Greathouse IV, Jun 08 2016
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Altug Alkan, May 26 2016
EXTENSIONS
a(10)-a(12) from Giovanni Resta, May 26 2016
STATUS
approved