A113336 Least integers, starting with 2, so ascending descending base exponent transforms all prime.
2, 1, 6, 6, 18, 12, 18, 42, 288, 108, 180, 1122, 1458, 660
Offset: 1
Examples
a(1) = 2 by definition. a(2) = 1 because 1 is the min such that 2^a(2) + a(2)^2 is prime (p=3). a(3) = 6 because 6 is the min such that 2^a(3) + 1^1 + a(3)^2 is prime (2^6 + 1^1 + 6^1 = 101). a(4) = 6 because 2^6 + 1^6 + 6^1 + 6^2 = 107 is prime. a(5) = 18 because 2^18 + 1^6 + 6^6 + 6^1 + 18^2 = 309131 is prime. a(6) = 12 because 2^12 + 1^18 + 6^6 + 6^6 + 18^1 + 12^2 = 97571 is prime. a(7) = 18 because 2^18 + 1^12 + 6^18 + 6^6 + 18^6 + 12^1 + 18^2 = 101559990989777 is prime. a(8) = 42 because 2^42 + 1^18 + 6^12 + 6^18 + 18^6 + 12^6 + 18^1 + 42^2 = 105960216961847 is prime. a(9) > 250.
Formula
a(1) = 2. For n>1: a(n) = min {n>0: Sum_{i=1..n} a(i)^a(n-i+1) is prime}.
Extensions
a(9)-a(14) from Giovanni Resta, Jun 13 2016
Comments