OFFSET
1,12
COMMENTS
Conjecture: (i) a(n) > 0 for all n > 37.
(ii) For any integer n > 7, there is a positive integer k < n such that p = phi(k) + phi(n-k)/2 - 1 is a prime having 2 as a primitive root.
Part (i) of the conjecture implies that there are infinitely many Sophie Germain primes p having 2 as a primitive root modulo p.
We also have some other similar conjectures.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..10000
EXAMPLE
a(10) = 1 since prime(3) + phi(7) = 5 + 6 = 11 is a Sophie prime and 2 is a primitive root modulo 11.
a(79) = 1 since prime(19) + phi(60) = 67 + 16 = 83 is a Sophie Germain prime and 2 is a primitive root modulo 83.
MATHEMATICA
p[n_]:=PrimeQ[n]&&PrimeQ[2n+1]&&PrimitiveRoot[n]==2
f[n_, k_]:=Prime[k]+EulerPhi[n-k]
a[n_]:=Sum[If[p[f[n, k]], 1, 0], {k, 1, n-1}]
Table[a[n], {n, 1, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Jan 17 2014
STATUS
approved