OFFSET
1,6
COMMENTS
Conjecture: (i) a(n) > 0 for all n > 1. Also, any integer n > 1 can be written as x + y (x, y > 0) with 2^x * y^2 + 1 prime.
(ii) Each integer n > 2 can be written as x + y (x, y > 0) with 2^x * y - 1 prime. Also, every n = 3, 4, ... can be expressed as x + y (x, y > 0) with 2^x * y^2 - 1 prime.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..4000
EXAMPLE
a(7) = 1 since 7 = 1 + 6 with 2^1 * 6 + 1 = 13 prime.
a(14) = 1 since 14 = 3 + 11 with 2^3 * 11 + 1 = 89 prime.
MATHEMATICA
a[n_]:=Sum[If[PrimeQ[2^x*(n-x)+1], 1, 0], {x, 1, n/2}]
Table[a[n], {n, 1, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Nov 11 2013
STATUS
approved