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.

A256455 Numbers that appear at least once in a Pythagorean triple (a, b, b+1).

This page as a plain text file.
%I A256455 #14 Mar 31 2015 00:30:58
%S A256455 3,4,5,7,9,11,12,13,15,17,19,21,23,24,25,27,29,31,33,35,37,39,40,41,
%T A256455 43,45,47,49,51,53,55,57,59,60,61,63,65,67,69,71,73,75,77,79,81,83,84,
%U A256455 85,87,89,91,93,95,97,99,101,103,105,107,109,111,112,113
%N A256455 Numbers that appear at least once in a Pythagorean triple (a, b, b+1).
%C A256455 Includes all odd numbers >= 3 because every odd number a has a Pythagorean triple (a, b, b+1).
%C A256455 Union of A144396 and A046092 (except for 0). - _Robert Israel_, Mar 29 2015
%e A256455 12 qualifies because it's part of (5, 12, 13). 8 doesn't qualify because no Pythagorean triple of the form (a, b, b+1) has 8 in it; in every triple of this kind, b is the only even number, and a in the triple (a, 8, 9) would be the square root of 17, which is not an integer.
%p A256455 N:= 500: # to get all terms up to N
%p A256455 sort([seq(2*i+1, i=1 .. floor((N-1)/2)), seq(2*j*(j+1), j = 1 .. floor((sqrt(1+2*N)-1)/2))]); # _Robert Israel_, Mar 29 2015
%Y A256455 Cf. A144396 (the values of a), A046092 (the values of b), A001844 (the values of b+1).
%K A256455 nonn
%O A256455 1,1
%A A256455 _J. Lowell_, Mar 29 2015