%I #23 Sep 08 2022 08:45:12
%S 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,
%T 12,10,12,16,12,18,24,12,16,8,10,22,10,14,14,18,12,14,12,22,12,12,6,
%U 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
%N a(n) = prime(3*n+2) - prime(3*n).
%C Previous name was: Differences in triples of primes.
%C Minimal difference is 6 (for 3-tuplet) except first triple. Repeating 6 means successive 3-tuplets, see A088683, A088684..
%H G. C. Greubel, <a href="/A088683/b088683.txt">Table of n, a(n) for n = 1..10000</a>
%F 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.
%t #[[3]]-#[[1]]&/@Partition[Prime[Range[3,300]],3] (* _Harvey P. Dale_, Jan 12 2011 *)
%o (PARI) a(n) = prime(3*n+2) - prime(3*n); \\ _Michel Marcus_, Oct 05 2013
%o (Magma) [NthPrime(3*n+2) - NthPrime(3*n): n in [1..80]]; // _G. C. Greubel_, May 19 2019
%o (Sage) [nth_prime(3*n+2) - nth_prime(3*n) for n in (1..80)] # _G. C. Greubel_, May 19 2019
%Y Cf. A088680, A078584, A088682, A088684.
%K easy,nonn
%O 1,1
%A _Zak Seidov_, Oct 05 2003
%E New name from _Michel Marcus_, Oct 05 2013
|