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.

A103249 Numbers y, without duplication, in Pythagorean triples x,y,z where x,y,z are relatively prime composite numbers and x is a perfect square.

Original entry on oeis.org

3, 12, 17, 27, 48, 63, 68, 75, 77, 99, 108, 147, 153, 192, 243, 252, 272, 300, 301, 308, 323, 363, 396, 399, 425, 432, 507, 561, 567, 577, 588, 612, 621, 675, 693, 768, 833, 867, 891, 943, 972, 1008, 1023, 1083, 1088, 1200, 1204, 1232, 1292, 1323, 1377, 1377
Offset: 1

Views

Author

Cino Hilliard, Mar 19 2005

Keywords

Comments

There exists no case in which x and y are both squares.

Examples

			y=3, x=4, 4^2 + 3^2 = 5^2. 3 is the 1st entry in the list.
		

Programs

  • PARI
    pythtrisq(n) = { local(a,b,c=0,k,x,y,z,vy,j); w = vector(n*n+1); for(a=1,n, for(b=1,n, x=2*a*b; y=b^2-a^2; z=b^2+a^2; if(y > 0 & issquare(x), c++; w[c]=y; print(x","y","z) ) ) ); vy=vector(c); w=vecsort(w); for(j=1,n*n, if(w[j]>0, k++; vy[k]=w[j]; ) ); for(j=1,200, print1(vy[j]",") ) }