|
a(1) = 1 by definition.
a(2) = 1 because 1 is the min such that 1^a(2) + a(2)^1 is prime (p=2).
a(3) = 3 because 3 is the min such that 1^a(3) + 1^1 + a(3)^1 is prime (p=5).
a(4) = 2 because 2 is the min such that 1^a(4) + 1^1 + 3^1 + a(4)^1 is prime (p=7).
a(5) = 6 because 6 is the min such that 1^a(5) + 1^2 + 3^3 + 2^1 + a(5)^1 is prime (p=37).
a(6) = 4 = min such that 1^a(6) + 1^6 + 3^2 + 2^3 + 6^1 + a(6)^1 is prime (p=29).
a(7) = 12 because 1^12 + 1^4 + 3^6 + 2^2 + 6^3 + 4^1 + 12^1 = 967 is prime.
a(8) = 4 because 1^4 + 1^12 + 3^4 + 2^6 + 6^2 + 4^3 + 12^1 + 4^1 = 263 is prime.
a(9) = 6 because 1^6 + 1^4 + 3^12 + 2^4 + 6^6 + 4^2 + 12^3 + 4^1 + 6^1 = 579869 is prime.
a(10) = 2 because 1^2 + 1^6 + 3^4 + 2^12 + 6^4 + 4^6 + 12^2 + 4^3 + 6^1 + 2^1 = 9787 is prime.
a(11) = 12 because 1^12 + 1^2 + 3^6 + 2^4 + 6^12 + 4^4 + 12^6 + 4^2 + 6^3 + 2^1 + 12^1 = 2179769569 is prime.
a(12) = 28 because 1^28 + 1^12 + 3^2 + 2^6 + 6^4 + 4^12 + 12^4 + 4^6 + 6^2 + 2^3 + 12^1 + 28^1 = 16803503 is prime.
a(13) = 16 because 1^16 + 1^28 + 3^12 + 2^2 + 6^6 + 4^4 + 12^12 + 4^4 + 6^6 + 2^2 + 12^3 + 28^1 + 16^1 = 8916101075303 is prime.
|