OFFSET
1,5
COMMENTS
Conjecture: Let a be 2 or 3 or 4. If n > 3, then a^k + a^{phi(n-k)/2} - 1 is prime for some 0 < k < n - 2.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..4000
EXAMPLE
a(4) = 1 since 4^1 + 2^{phi(3)} - 1 = 7 is prime.
a(5) = 2 since 4^1 + 2^{phi(4)} - 1 = 7 and 4^2 + 2^{phi(3)} - 1 = 19 are both prime.
MATHEMATICA
f[n_, k_]:=4^k+2^(EulerPhi[n-k])-1
a[n_]:=Sum[If[PrimeQ[f[n, k]], 1, 0], {k, 1, n-3}]
Table[a[n], {n, 1, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Dec 23 2013
STATUS
approved