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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A093667 a(n) = prime(n) - prime(n+1) + prime(n+2). 2
 4, 5, 9, 9, 15, 15, 21, 25, 25, 35, 35, 39, 45, 49, 53, 55, 65, 65, 69, 77, 77, 85, 91, 93, 99, 105, 105, 111, 123, 117, 133, 133, 147, 141, 155, 157, 161, 169, 173, 175, 189, 183, 195, 195, 209, 211, 215, 225, 231, 235, 235, 249, 247, 257, 263, 265, 275, 275, 279 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Prime terms are balanced primes (A006562). - Zak Seidov, Mar 03 2019 a(n) = a(n+1) iff prime(n+3) - prime(n) = 2 * (prime(n+2) - prime(n+1)). It's not possible to get a(n) = a(n+1) = a(n+2). - Bernard Schott, Mar 03 2019 LINKS Harvey P. Dale, Table of n, a(n) for n = 1..1000 FORMULA a(n) = A001223(n+1) + A000040(n). - Michel Marcus, Apr 17 2015 MATHEMATICA Table[Prime[n] + Prime[n + 2] - Prime[n + 1], {n, 75}] #[[1]]-#[[2]]+#[[3]]&/@Partition[Prime[Range[70]], 3, 1] (* Harvey P. Dale, Oct 28 2018 *) PROG (Magma) [NthPrime(n)-NthPrime(n+1)+NthPrime(n+2): n in [1..60]]; // Vincenzo Librandi, Apr 17 2015 (PARI) vector(80, n, prime(n) - prime(n+1) + prime(n+2)) \\ Michel Marcus, Apr 17 2015 CROSSREFS Cf. A000040, A001223, A006562. Sequence in context: A128891 A172180 A193959 * A243591 A189012 A030415 Adjacent sequences: A093664 A093665 A093666 * A093668 A093669 A093670 KEYWORD nonn AUTHOR Robert G. Wilson v, Apr 08 2004 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.

Last modified August 3 05:44 EDT 2024. Contains 374875 sequences. (Running on oeis4.)