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.

A257411 Values of n such that there are exactly 4 solutions to x^2 - y^2 = n with x > y >= 0.

This page as a plain text file.
%I A257411 #14 Jun 18 2020 17:03:58
%S A257411 96,105,120,135,160,165,168,189,195,216,224,231,255,256,264,273,280,
%T A257411 285,297,312,345,351,352,357,375,385,399,408,416,420,429,435,440,455,
%U A257411 456,459,465,483,512,513,520,540,544,552,555,561,595,608,609,615,616,621
%N A257411 Values of n such that there are exactly 4 solutions to x^2 - y^2 = n with x > y >= 0.
%H A257411 Colin Barker, <a href="/A257411/b257411.txt">Table of n, a(n) for n = 1..600</a>
%e A257411 96 is in the sequence because there are 4 solutions to x^2 - y^2 = 96, namely (x,y) = (10,2), (11,5), (14,10), (25,23).
%t A257411 nn = 1000;
%t A257411 t = Table[0, {nn}];
%t A257411 Do[n = x^2 - y^2; If[n <= nn, t[[n]]++], {x, nn}, {y, 0, x - 1}];
%t A257411 Position[t, 4] // Flatten (* _Jean-François Alcover_, Jun 18 2020, after _T. D. Noe_ in A034178 *)
%o A257411 (PARI) is_A257411(n)={A034178(n)==4} \\ _M. F. Hasler_, Apr 22 2015
%Y A257411 Cf. A257408, A257409, A257410, A257412, A257413, A257414, A257415, A257416, A257417.
%Y A257411 Cf. A034178.
%K A257411 nonn
%O A257411 1,1
%A A257411 _Colin Barker_, Apr 22 2015