login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A235987 a(n) = |{0 < k < n: p = prime(k) + phi(n-k) is a Sophie prime having 2 as a primitive root}|. 1
0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 2, 0, 1, 0, 2, 2, 2, 1, 1, 1, 2, 2, 2, 1, 2, 3, 1, 2, 2, 0, 4, 3, 3, 1, 3, 0, 2, 2, 2, 4, 1, 4, 2, 1, 4, 3, 4, 6, 1, 2, 5, 2, 4, 5, 4, 4, 1, 5, 4, 1, 4, 1, 3, 2, 3, 4, 2, 3, 5, 2, 4, 5, 2, 6, 2, 2, 5, 1, 4, 8, 4, 3, 3, 2, 3, 4, 5, 5, 3, 7, 2, 4, 3, 5, 6, 7, 6, 3, 4 (list; graph; refs; listen; history; text; internal format)
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
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
Sequence in context: A129447 A125079 A329027 * A104597 A182936 A340503
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Jan 17 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)