Context:
A triangular number is a number of the form $n(n+1)/2$ where $n\in \mathbb N$.
Question:
After application of two theorems in my textbook (the first one being that "a number $n$ is triangular if and only if $\exists N\in \mathbb N,\text{ }8n+1 = N^2$" the second one being "if a number $k$ is odd then $\exists p \in \mathbb N, \text{ } k^2 = 8p + 1$") the following result came out:
To every odd number $k$, we can assign a triangular number $n$, namely: $\frac{k^2-1}{8}$.
My question is two-fold:
- does the converse hold? That is, can we assign to every triangular number an odd number?
- if the answer of question $1$ is yes, is there by any chance, a way to assign to a every even number a special number in direct analogy with the way it happens for odd numbers?
Thanks