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.

Showing 1-1 of 1 results.

A231353 Least k>=0 such that n - k^2 is a triangular number, or -1 if no such k exists.

Original entry on oeis.org

0, 0, 1, 0, 1, 2, 0, 1, -1, 3, 0, 1, 3, -1, 2, 0, 1, 4, -1, 2, -1, 0, 1, -1, 3, 2, 4, -1, 0, 1, 3, 4, 2, -1, -1, 5, 0, 1, -1, 6, 2, -1, 6, -1, 4, 0, 1, -1, -1, 2, 7, 6, 4, 5, 3, 0, 1, 6, -1, 2, -1, 4, -1, -1, 3, 8, 0, 1, -1, -1, 2, 4, 6, -1, 8, 3, -1, 7, 0, 1, 5, 6, 2
Offset: 0

Views

Author

Alex Ratushnyak, Nov 08 2013

Keywords

Comments

Indices of -1's: A014134.
Indices of 0's: A000217.
Indices of 1's: A000124.

Crossrefs

Showing 1-1 of 1 results.