OFFSET
1,3
EXAMPLE
a(5) = max(4,1) + max(4,1) + max(4,4) + max(4,10) = 4 + 4 + 4 + 10 = 22.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Aug 04 2000
STATUS
approved