cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A126249 p*(p+1)*(p+2)/6 where (p,p+2) are twin primes.

This page as a plain text file.
%I A126249 #20 Feb 26 2024 01:57:20
%S A126249 10,35,286,969,4495,12341,35990,62196,176851,209934,437989,562475,
%T A126249 971970,1179616,1293699,1975354,2303960,3280455,3737581,5061836,
%U A126249 7023974,12347930,13436856,16435111,23706021,30865405,35999900,39338069
%N A126249 p*(p+1)*(p+2)/6 where (p,p+2) are twin primes.
%H A126249 Harvey P. Dale, <a href="/A126249/b126249.txt">Table of n, a(n) for n = 1..1000</a>
%F A126249 a(n) = A001359(n)*A014574(n)*A006512(n)/6;
%F A126249 a(n) = A037074(n)*A014574(n)/6;
%F A126249 a(n) = A007531(A006512(n))/6.
%F A126249 a(n) = A037074(n)*A002822(n-1), for n > 1.
%F A126249 a(n) = A126248(n)/6.
%p A126249 ZL:=[]:for p from 1 to 617 do if (isprime(p) and isprime(p+2) ) then ZL:=[op(ZL),(binomial((p+2),p-1))]; fi; od; print(ZL); # _Zerinvary Lajos_, Mar 08 2007
%t A126249 Times@@# Mean[#]/6&/@Select[Partition[Prime[Range[250]],2,1],#[[2]]- #[[1]] == 2&] (* _Harvey P. Dale_, Sep 20 2014 *)
%Y A126249 Cf. A126248.
%K A126249 nonn
%O A126249 1,1
%A A126249 _Lekraj Beedassy_, Dec 21 2006