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.

A328708 Number of non-primitive Pythagorean triples with leg n.

This page as a plain text file.
%I A328708 #14 Feb 03 2020 20:44:19
%S A328708 0,0,0,0,0,1,0,1,1,1,0,2,0,1,2,2,0,2,0,2,2,1,0,5,1,1,2,2,0,4,0,3,2,1,
%T A328708 2,5,0,1,2,5,0,4,0,2,5,1,0,8,1,2,2,2,0,3,2,5,2,1,0,9,0,1,5,4,2,4,0,2,
%U A328708 2,4,0,10,0,1,5,2,2,4,0,8,3,1,0,9,2,1,2,5,0,7,2,2,2,1,2,11,0,2,5,5,0,4
%N A328708 Number of non-primitive Pythagorean triples with leg n.
%C A328708 Pythagorean triple including primitive ones and non-primitive ones. For a certain n, it may be a leg in either primitive Pythagorean triple, or non-primitive Pythagorean triple, or both.
%C A328708 This sequence is the count of n as leg in non-primitive Pythagorean triple.
%D A328708 A. Beiler, Recreations in the Theory of Numbers. New York: Dover Publications, pp. 116-117, 1966.
%H A328708 Ray Chandler, <a href="/A328708/b328708.txt">Table of n, a(n) for n = 1..10000</a>
%F A328708 a(n) = A046079(n) - A024361(n).
%e A328708 n=3 as leg in only one primitive Pythagorean triple, (3,4,5); so a(3)=0.
%e A328708 n=6 as leg in only one non-primitive Pythagorean triple, (6,8,10); so a(6)=1.
%e A328708 n=8 as leg in one primitive Pythagorean triple (8,15,17) and in one non-primitive Pythagorean triple (6,8,10); so a(8)=1.
%Y A328708 Cf. A046079, A024361.
%K A328708 nonn
%O A328708 1,12
%A A328708 _Rui Lin_, Oct 26 2019