login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A099472
Numbers n such that binomial(n,m) cannot be represented as the sum of three squares for any 0 <= m <= n.
1
1, 2, 3, 4, 5, 9, 14, 17, 18, 20, 21, 35, 41
OFFSET
1,2
LINKS
Andrew Granville and Yiliang Zhu, Representing binomial coefficients as sums of squares, Amer. Math. Monthly, Vol. 97, No. 6 (1990), 486-493.
MATHEMATICA
NoRepAs3Sqrs[n_] := Module[{e2}, e2=IntegerExponent[n, 2]; If[EvenQ[e2], 7==Mod[n/2^e2, 8], False]]; Select[Range[200], {}==Flatten[Position[Table[NoRepAs3Sqrs[Binomial[ #, m]], {m, #}], True]]&]
CROSSREFS
Cf. A004215 (sums of 4 but no fewer nonzero squares), A099473.
Sequence in context: A217376 A050160 A230769 * A191321 A222432 A222433
KEYWORD
fini,full,nonn
AUTHOR
T. D. Noe, Oct 18 2004
STATUS
approved