OFFSET
5,1
COMMENTS
Conjecture: a(n) has finite value when a>4
already tested: a(4)>2364; a(3)>7399; and a(2)>9594.
Hypothesis is that a(2), a(3), and a(4) are infinite.
Mathematica program ran about an hour and gave the first 96 items.
When n is larger, a(n) tends to be 2 for most of n.
EXAMPLE
n=5, there is no prime number in the form of 5^1147+/-5^k+/-1 for 0 <= k < 1147
MATHEMATICA
Table[i = 1; While[i++; c1 = b^i; cs = {};
Do[c2 = b^j; cp = c1 + c2 + 1;
If[PrimeQ[cp], cs = Union[cs, {cp}]];
cp = c1 + c2 - 1; If[PrimeQ[cp], cs = Union[cs, {cp}]];
cp = c1 - c2 + 1; If[PrimeQ[cp], cs = Union[cs, {cp}]];
cp = c1 - c2 - 1;
If[PrimeQ[cp], cs = Union[cs, {cp}]], {j, 0, i - 1}];
ct = Length[cs]; ct > 0]; i, {b, 5, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Lei Zhou, Oct 06 2011
STATUS
approved