There are infinitely polynomials of order 5 that will give these as the first five numbers and any one of these could be "the" rule. There are also non-polynomial solutions. Short of reading the mind of the person who posed the question, there is no way of determining which of the infinitely many solutions is the "correct" one.
The simplest rule, based on a polynomial of order 4 is
T(n) = (n^4 - 12n^3 + 50n^2 - 78n + 42)/3 for n = 1, 2, 3, ...
Chat with our AI personalities
8. Each number is the sum of the previous two.
add 4 to every other number 1(+4)=5, 5(+4)=9 2(+4)=6
Add the previous 2 numbers to get the next number.
3 4 5 6 The next number is 1 plus the previous number So the pattern rule is the next number is n + 1
for 3: count all number if divisable by 3 (123= 1+2+3= 6, 3+3=6) for 5:end number is 5 or 0