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!)
A088683 a(n) = prime(3*n+2) - prime(3*n). 5
6, 6, 8, 6, 12, 10, 10, 12, 6, 18, 12, 12, 12, 12, 14, 6, 8, 12, 8, 12, 6, 20, 6, 14, 10, 12, 12, 10, 12, 16, 12, 18, 24, 12, 16, 8, 10, 22, 10, 14, 14, 18, 12, 14, 12, 22, 12, 12, 6, 18, 24, 18, 10, 18, 14, 16, 12, 16, 12, 22, 10, 14, 24, 18, 14, 10, 8, 28, 10, 10, 16, 40, 14, 24, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Previous name was: Differences in triples of primes.
Minimal difference is 6 (for 3-tuplet) except first triple. Repeating 6 means successive 3-tuplets, see A088683, A088684..
LINKS
FORMULA
Partition primes in triples starting with 5: {5, 7, 11}, {13, 17, 19}, {23, 29, 31}, {37, 41, 43}, {47, 53, 59}, {61, 67, 71}, {73, 79, 83}, {89, 97, 101}, {103, 107, 109}. Sequence gives differences between lesser and larger primes in triples.
MATHEMATICA
#[[3]]-#[[1]]&/@Partition[Prime[Range[3, 300]], 3] (* Harvey P. Dale, Jan 12 2011 *)
PROG
(PARI) a(n) = prime(3*n+2) - prime(3*n); \\ Michel Marcus, Oct 05 2013
(Magma) [NthPrime(3*n+2) - NthPrime(3*n): n in [1..80]]; // G. C. Greubel, May 19 2019
(Sage) [nth_prime(3*n+2) - nth_prime(3*n) for n in (1..80)] # G. C. Greubel, May 19 2019
CROSSREFS
Sequence in context: A371503 A334365 A088684 * A201578 A322292 A195707
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Oct 05 2003
EXTENSIONS
New name from Michel Marcus, Oct 05 2013
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 20 00:03 EDT 2024. Contains 371798 sequences. (Running on oeis4.)