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.

A155174 Long leg B of primitive Pythagorean triangles such that perimeters are Averages of twin prime pairs, q=p+1, a=q^2-p^2, c=q^2+p^2, b=2*p*q, s=a+b+c, s-+1 are primes.

This page as a plain text file.
%I A155174 #4 Dec 26 2023 12:33:06
%S A155174 4,12,112,220,840,1740,3960,5100,8580,9940,11704,12012,20604,21840,
%T A155174 23112,26680,47740,61600,78012,82012,102604,103512,122512,151800,
%U A155174 276024,289560,340312,418612,481180,501000,660100,711624,838512,901824,931612
%N A155174 Long leg B of primitive Pythagorean triangles such that perimeters are Averages of twin prime pairs, q=p+1, a=q^2-p^2, c=q^2+p^2, b=2*p*q, s=a+b+c, s-+1 are primes.
%C A155174 p=1,q=2,a=3,b=4,c=5,s=12-+1 primes, ...
%t A155174 lst={};Do[p=n;q=p+1;a=q^2-p^2;c=q^2+p^2;b=2*p*q;s=a+b+c;If[PrimeQ[s-1]&&PrimeQ[s+1],AppendTo[lst,b]],{n,8!}];lst
%Y A155174 Cf. A020882, A020886, A020884, A020883, A024364, A024406, A155171, A155173
%K A155174 nonn
%O A155174 1,1
%A A155174 _Vladimir Joseph Stephan Orlovsky_, Jan 21 2009