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!)
A236138 a(n) = |{0 < k < n: p = phi(k) + phi(n-k)/3 - 1, prime(p-1) - (p-1) and prime(p-1) - 2*prime((p-1)/2) are all prime}|, where phi(.) is Euler's totient function. 3
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 3, 0, 1, 3, 1, 4, 0, 5, 2, 2, 3, 4, 1, 4, 2, 5, 3, 1, 6, 4, 3, 0, 4, 5, 3, 3, 4, 5, 2, 4, 2, 2, 4, 3, 4, 1, 2, 2, 3, 5, 3, 0, 3, 2, 4, 1, 2, 2, 4, 0, 4, 1, 3, 3, 2, 0, 4, 1, 3, 2, 3, 1, 5, 3, 5, 1, 4, 2, 3, 5, 4, 4, 5, 4, 1, 2, 2, 3, 3, 7, 3, 2, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,16
COMMENTS
Conjecture: (i) a(n) > 0 for all n > 73.
(ii) For any integer n > 472, there is a positive integer k < n such that p = phi(k) + phi(n-k)/4 - 1, prime(p) - 2*prime((p-1)/2) and prime(p) - 2*prime((p+1)/2) are all prime.
Clearly, part (i) of the conjecture implies that there are infinitely many odd primes p with prime(p-1) - (p-1) and prime(p-1) - 2*prime((p-1)/2) both prime, and part (ii) implies that there are infinitely many odd primes p with prime(p) - 2*prime((p-1)/2) and prime(p) - 2*prime((p+1)/2) both prime.
LINKS
EXAMPLE
a(20) = 1 since phi(11) + phi(9)/3 - 1 = 11, prime(10) - 10 = 29 - 10 = 19 and prime(10) - 2*prime(5) = 29 - 2*11 = 7 are all prime.
a(293) = 1 since phi(267) + phi(26)/3 - 1 = 176 + 12/3 - 1 = 179, prime(178) - 178 = 1061 - 178 = 883 and prime(178) - 2*prime(89) = 1061 - 2*461 = 139 are all prime.
MATHEMATICA
PQ[n_]:=n>0&&PrimeQ[n]
p[n_]:=n>2&&PrimeQ[n]&&PrimeQ[Prime[n-1]-(n-1)]&&PQ[Prime[n-1]-2*Prime[(n-1)/2]]
f[n_, k_]:=EulerPhi[k]+EulerPhi[n-k]/3-1
a[n_]:=Sum[If[p[f[n, k]], 1, 0], {k, 1, n-1}]
Table[a[n], {n, 1, 100}]
CROSSREFS
Sequence in context: A339662 A336316 A362110 * A363930 A361755 A362755
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Jan 19 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 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)