OFFSET
1,1
COMMENTS
If n is in the sequence, then n == 0 or 1 mod 3 and n == 3, 4, or 7 mod 8. But the converse is not true: 100 and 268 are not in the sequence (are there other examples?).
Guy [op. cit.] quotes Paul Turan as asking for a characterization of the terms of this sequence. - N. J. A. Sloane, Jan 16 2017
REFERENCES
R. K. Guy, Unsolved Problems in Theory of Numbers, Section C20
LINKS
Jean-François Alcover, Table of n, a(n) for n = 1..1000
EXAMPLE
3 is in the sequence, since 3 is the sum of the squares of 0, 1, 1, 1 and these four numbers are pairwise coprime.
7 is in the sequence, since 7 is the sum of the squares of 1, 1, 1, 2 and these four numbers are pairwise coprime.
MATHEMATICA
f[A_]:=Module[{A2, La2}, A2=Subsets[A, {2}]; La2=Length[A2]; Union[Table[GCD@@A2[[i]], {i, 1, La2}]]=={1}];
Select[Range[250], MemberQ[Union[f/@PowersRepresentations[#, 4, 2]], True]&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Emmanuel Vantieghem, Jan 12 2017
STATUS
approved