OFFSET
0,1
FORMULA
a(n) = sum_{k = 1 .. 4} k^(2^n).
For all n > 1, a(n) = 54 mod 100.
EXAMPLE
a(2) = 4^4 + 3^4 + 2^4 + 1 = 256 + 81 + 16 + 1 = 354.
a(3) = 4^8 + 3^8 + 2^8 + 1 = 65536 + 6561 + 256 + 1 = 72354.
MATHEMATICA
Table[1 + Sum[k^(2^n), {k, 2, 4}], {n, 0, 7}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alonso del Arte, Nov 25 2014
STATUS
approved