OFFSET
1,1
EXAMPLE
a(1) = 5 = 1^1 + 1^1 + 1^1 + 1^1 + 1^1.
a(2) = 11 = 1^1 + 1^1 + 1^1 + 2^2 + 2^2.
a(3) = 17 = 1^1 + 2^2 + 2^2 + 2^2 + 2^2.
a(4) = 31 = 1^1 + 1^1 + 1^1 + 1^1 + 3^3.
a(5) = 37 = 1^1 + 1^1 + 2^2 + 2^2 + 3^3.
MATHEMATICA
Select[Union[ Flatten[Table[ a^a + b^b + c^c + d^d + e^e, {a, 1, 20}, {b, 1, a}, {c, 1, b}, {d, 1, c}, {e, 1, d}]]], PrimeQ]
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post (jvospost3(AT)gmail.com), Apr 11 2008
STATUS
approved