A002097 Numbers that are not the sum of 3 nonzero triangular numbers.
1, 2, 4, 6, 11, 20, 29
Offset: 1
Programs
-
Mathematica
Complement[Range[30],Union[Total/@Tuples[Accumulate[Range[8]],3]]] (* Harvey P. Dale, Oct 06 2017 *)
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.
Complement[Range[30],Union[Total/@Tuples[Accumulate[Range[8]],3]]] (* Harvey P. Dale, Oct 06 2017 *)
Comments