Search: id:A031131 Results 1-1 of 1 results found. %I A031131 %S A031131 3,4,6,6,6,6,6,10,8,8,10,6,6,10,12,8,8,10,6,8,10,10,14,12,6,6,6,6,18,18, %T A031131 10,8,12,12,8,12,10,10,12,8,12,12,6,6,14,24,16,6,6,10,8,12,16,12,12,8, 8, %U A031131 10,6,12,24,18,6,6,18,20,16,12,6,10,14,14,12,10,10,14,12,12,18,12,12,12 %N A031131 Difference between n-th prime and (n+2)nd prime. %C A031131 Distance between the pair of primes adjacent to the (n+1)-st prime. - Lekraj Beedassy (blekraj(AT)yahoo.com), Oct 01 2004 [Typo corrected by Zak Seidov, Feb 22 2009] %H A031131 T. D. Noe, Table of n, a(n) for n=1..10000 %F A031131 a(n) = A001223(n) + A001223(n-1). - Lior Manor (lior.manor(AT)gmail.com) Jan 19 2005 %F A031131 Prime(n+2)-prime(n). %e A031131 a(10)=8 because the 10-th prime=29 is bounded by primes (23,31) separated by a gap 8. %t A031131 Differences[lst_]:=Drop[lst,2]-Drop[lst,-2]; Differences[Prime[Range[123]]] [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Aug 13 2009] %o A031131 (Mupad) ithprime(i+2)-ithprime(i) $ i = 1..65 - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Feb 26 2007 %o A031131 (SAGE) BB = primes_first_n(67) list = [] for i in range(65): list.append(BB[2+i]-BB[i]) list - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), May 14 2007 %Y A031131 Sum of consecutive terms of A001223. %Y A031131 Cf. A031132, A031133, A031134, A122412, A122413. %Y A031131 Cf. A075527 (allowing 1 to be prime) %Y A031131 Sequence in context: A001177 A053991 A033957 this_sequence A105321 A160095 A135319 %Y A031131 Adjacent sequences: A031128 A031129 A031130 this_sequence A031132 A031133 A031134 %K A031131 nonn %O A031131 1,1 %A A031131 Jeff Burch (jmburch(AT)osprey.smcm.edu) %E A031131 Corrected by T. D. Noe (noe(AT)sspectra.com), Sep 11 2008 %E A031131 Edited by N. J. A. Sloane (njas(AT)research.att.com), Sep 18 2008 at the suggestion of T. D. Noe Search completed in 0.002 seconds