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.

A224771 Numbers that are the sum of 3 distinct and primitive nonzero squares.

This page as a plain text file.
%I A224771 #12 Jan 19 2019 04:15:43
%S A224771 14,21,26,29,30,35,38,41,42,45,46,49,50,53,54,59,61,62,65,66,69,70,74,
%T A224771 75,77,78,81,83,86,89,90,91,93,94,98,101,105,106,107,109,110,113,114,
%U A224771 115,117,118,121,122,125,126,129,131,133,134,137,138,139,141,142,145
%N A224771 Numbers that are the sum of 3 distinct and primitive nonzero squares.
%C A224771 This sequence gives the increasingly ordered numbers m which satisfy A224772(m) > 0.
%C A224771 This sequence is a proper subsequence of A004432. The first imprimitive members of A004432 are 56, 84, 104, 116, 120, 140, 152, 164, 168, 180, 184, 196, 200, ...
%H A224771 T. D. Noe, <a href="/A224771/b224771.txt">Table of n, a(n) for n = 1..10000</a>
%F A224771 a(n) is the n-th largest number m which satisfies:  m = a^2 + b^2 + c^2, with integers a, b, and c, 0 < a < b < c, and gcd(a,b,c) = 1. Such a solution is denoted by the triple (a, b, c).
%e A224771 The first triples (a, b, c) are:
%e A224771 n=1,  14: (1, 2, 3),
%e A224771 n=2,  21: (1, 2, 4),
%e A224771 n=3,  26: (1, 3, 4),
%e A224771 n=4,  29: (2, 3, 4),
%e A224771 n=5,  30: (1, 2, 5),
%e A224771 n=6,  35: (1, 3, 5),
%e A224771 n=7,  38  (2, 3, 5),
%e A224771 n=8,  41: (1, 2, 6),
%e A224771 n=9,  42: (1, 4, 5),
%e A224771 n=10, 45: (2, 4, 5),
%e A224771 ...
%e A224771 The first member with two different triples is a(18) = 62 with the triples (1, 5, 6), (2, 3, 7).
%e A224771 The first member with three different triples is a(36) = 101  with the triples (1, 6, 8), (2, 4, 9) and (4, 6, 7).
%t A224771 nn = 150; t = Table[0, {nn^2}]; Do[If[GCD[a, b, c] == 1, n = a^2 + b^2 + c^2; If[n <= nn^2, t[[n]]++]], {a, nn}, {b, a + 1, nn}, {c, b + 1, nn}]; Flatten[Position[t, _?(# > 0 &)]] (* _T. D. Noe_, Apr 20 2013 *)
%Y A224771 Cf. A224772 (multiplicities), A224773 (one half of the even members), A004432, A025442.
%K A224771 nonn
%O A224771 1,1
%A A224771 _Wolfdieter Lang_, Apr 19 2013