### #1 - Next Number In The Series Hardest

What is the next number in this series?

6, 14, 36, 98, 276, ?

794

The nth term in the series is given by the sum of x^n for x in the range 1 to 3, i.e. 1^n + 2^n + 3^n.

Thus the first term is 1^1 + 2^1 + 3^1 = 1 + 2 + 3 = 6,

the second term is 1^2 + 2^2 + 3^2 = 1 + 4 + 9 = 14,

and so on.

The sixth term is then 1^6 + 2^6 + 3^6 = 1 + 64 + 729 = 794.