The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A236470 a(n) = |{0 < k < n: p = prime(k) + phi(n-k), p + 2 and prime(p) + 2 are all prime}|, where phi(.) is Euler's totient function. 6
0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 2, 1, 2, 1, 1, 1, 1, 0, 2, 2, 2, 0, 1, 0, 1, 1, 0, 3, 0, 1, 0, 1, 3, 0, 1, 1, 1, 0, 1, 0, 0, 1, 2, 1, 0, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 2, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,14
COMMENTS
Conjecture: a(n) > 0 for all n > 948.
We have verified this for n up to 50000.
The conjecture implies that there are infinitely many primes p with p + 2 and prime(p) + 2 both prime. See A236458 for such primes p.
LINKS
EXAMPLE
a(12) = 1 since prime(5) + phi(7) = 11 + 6 = 17, 17 + 2 = 19 and prime(17) + 2 = 59 + 2 = 61 are all prime.
a(97) = 1 since prime(7) + phi(90) = 17 + 24 = 41, 41 + 2 = 43 and prime(41) + 2 = 179 + 2 = 181 are all prime.
MATHEMATICA
p[n_]:=PrimeQ[n]&&PrimeQ[n+2]&&PrimeQ[Prime[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: A218854 A172303 A064391 * A206589 A086011 A124760
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Jan 26 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 May 29 03:48 EDT 2024. Contains 372921 sequences. (Running on oeis4.)