This site is supported by donations to The OEIS Foundation.

# User:Daniel Poveda Parrilla

I'm here because I enjoy finding and creating formulas and integer sequences. I've always loved doing this for fun!

But to be honest, I've really ended up here because of one challenge that Matt Parker proposed in YouTube about square triangular numbers and the pattern that is behind them, so I think it's a good idea to share in my profile page everything I've found out.

## My inquiries about square triangular numbers

**To make every expression clear, I am naming the sequences as following:**

- A001110 as (square triangular numbers):

- A000290 as (square numbers):

- A000217 as (triangular numbers):

- A235367 as (sum of positive even numbers up to ):

- A000129 as (Pell numbers), having that = :

Given the equations of this problem:

I started my study knowing these expressions for square numbers and triangle numbers:

As each square number is a sum of consecutive odd numbers and each triangular number is a sum of consecutive numbers, I focused on the different elements in each sum, noticing that parity of triangular numbers is important and that there has to be a sum of consecutive odd numbers that equals a sum of consecutive even numbers:

Then I noticed that is a square number and it divides each corresponding square triangular number, resulting in another square number, so every square triangular number is a product of two square numbers. The result of each sum is a term of sequence and it can also be linked with sequence :

Examples:

I found a general term for a sequence similar to , but not exactly equal:

I fixed this conditions for my sequence:

,

,

,

.

The general term I found for this sequence is the following:

*Here is a curiosity: . I do not know if this happens with more terms of this sequence.*

After all these inquiries, I got here and I found out sequence and that years ago Hugh Darwen linked with it.

I linked sequences , and as well (square triangular numbers, square numbers and triangular numbers) with knowing the th position of a square triangular number:

I discovered these new patterns and formulas for square triangular numbers:

This formula can be proved graphically, I guess this is valid for every square triangular number. For each square triangular number there is a square of squares in each corresponding triangle. Cutting, one level at a time, both acute angle corners, we're subtracting consecutive even numbers, ending up in a square of squares (it looks like kind of a Sierpiński square I think) with one of its corners being and not being part of the triangle's hypotenuse (depending on the parity of the triangular number, that's why I used modular arithmetic). To make this formula shorter, we can use terms of sequences and . As with a sum of consecutive even numbers we can build two triangles, we can write a better formula using only Pell numbers and triangular numbers:

This example is a graphical proof of this formula building a triangle with elements:

As it has been already observed, there is a sum of consecutive odd numbers equivalent to that sum of consecutive even numbers and both of them can be expressed using terms of sequence knowing the th position of a square triangular number in the sequence:

Writing it this way, I have found a link with sequence . Each is related to the sum of consecutive odd numbers that equals , and also it can be proved graphically. Concretely, is the number of last gnomons that we have to subtract to the square to get a smaller one formed by elements, the same Pell square of squares previously shown:

I linked and all the patterns I detected with the sequence I found out in the first place (as I did not know in the beginning, it was later when I linked and as I already showed), having and | ≠ .

Later (Jul 30 2016) I generalized this pattern to create a new sequence, each number being triangular formed by a square of squares and two small triangles:

After that, I felt like looking for more triangles built following this pattern, so I generalized it a bit more (next sequence still has not been approved):

And... that is all for now. Some things are missing, I have to complete this page.