# Another Number Sequence...Yayy!

Find the next terms and also, explain the logic used for the terms of the sequence.

$$3,7,11,15,20,27,?????$$

Hint : Autobots, This is Optimus Prime.

• Has a correct answer been given? If so, please don't forget to $\color{green}{\checkmark \small\text{Accept}}$ it. (That indicates what the correct answer is, so there's no doubt; it also awards the successful answerer for their effort, and as an added bonus, gives you +2 rep for doing it! It's also just good etiquette for this site. You have a few questions right now that seem to have good answers, and none have been accepted; please consider doing so. Thanks!)
– Rubio
Jul 20 '19 at 5:51

I think that the next term is

$$33$$

Reasoning

Let $$p_n$$ be the sequence of prime numbers: $$2,3,5,7,11,13,17, \ldots$$
Let $$q_n$$ be the sequence of positive non-prime numbers composed solely of positive non-prime digits: $$1,4,6,8,9,14,16,\ldots$$

The $$n$$th term of the sequence above is $$p_n + q_n$$ which makes the $$7$$th term $$p_7 + q_7 = 17 + 16 = 33$$

• how does this fit with the hint?
– JMP
Jun 3 '19 at 18:54
• I think the hint is meant to refer to these oeis.org/A217090, you might want to see if that clarifies your solution at all. Jun 3 '19 at 18:58
• @JonMarkPerry Really I just honed in on the word prime, not sure how autobots come into it. Jun 3 '19 at 19:59