The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A271353 The prime n - A270003(n) - A270753(n). 3
 7, 3, 2, 3, 2, 3, 2, 5, 5, 3, 2, 3, 2, 5, 5, 3, 2, 3, 2, 5, 5, 3, 2, 7, 7, 5, 5, 3, 2, 3, 2, 7, 7, 5, 5, 3, 2, 5, 5, 3, 2, 3, 2, 5, 5, 3, 2, 7, 7, 5, 5, 3, 2, 7, 7, 5, 5, 3, 2, 3, 2, 7, 7, 5, 5, 3, 2, 5, 5, 3, 2, 3, 2, 7, 7, 5, 5, 3, 2, 5, 5, 3, 2, 7, 7, 5 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Clark Kimberling, Table of n, a(n) for n = 1..10000 EXAMPLE n   p   q   r 1   3   5   7 2   2   3   3 3   2   3   2 4   2   5   3 5   2   5   2 6   2   7   3 7   2   7   2 MATHEMATICA t = Join[{{1, {3, 5, 7}}, {2, {2, 3, 3}}}, Table[If[PrimeQ[n], {n, {2, n, 2}}, p = If[EvenQ[2 + NextPrime[n, 1] - n], 3, 2]; NestWhile[# + 1 &, 1, ! PrimeQ[r = (p + (q = NextPrime[n, #])) - n] &]; {n, {p, q, r}}], {n, 3, 300}]]; Map[#[[2]][[1]] &, t] (* p, A270003 *) Map[#[[2]][[2]] &, t] (* q, A270753 *) Map[#[[2]][[3]] &, t] (* r, A271353 *) (* Peter J. C. Moses, Apr 26 2016 *) CROSSREFS Cf. A000040, A270003, A270753. Sequence in context: A132713 A262312 A135296 * A098907 A153205 A309387 Adjacent sequences:  A271350 A271351 A271352 * A271354 A271355 A271356 KEYWORD nonn,easy AUTHOR Clark Kimberling, Apr 26 2016 STATUS approved

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

Last modified May 25 20:58 EDT 2020. Contains 334597 sequences. (Running on oeis4.)