I've created an integer sequence where, after the first two elements, every element is calculated using the previous two. If the first two numbers are $1$ and $3$, the sequence goes as follows:
$$1, 3, 6, 8, 12, 15, 20, 22, 33, 36, 38, 57, 60, 62, 93, 96, 98, 105, 108$$
If the sequence starts with $4$ and $6$, however, the sequence is instead this:
$$4, 6, 9, 18, 20, 24, 27, 36, 38, 57, 60, 62, 93, 96, 98, 105, 108, 110, 115$$
If the sequence starts with $1$ and $2$, it goes:
$$1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144$$
The sequence is infinite, but there are certain starting numbers that are invalid, including when the first two numbers are equal. The sequence does not rely on the base and individual digits of the numbers, nor real-world things like seven-segment displays or letters.
I have three questions:
- What comes after $115$ in the second sequence, and why?
- If the sequence goes $2, \_\_, \_\_, 16, 20$, which numbers should fill in the blanks?
- What characterizes the first two elements of sequences generating powers of two?