OFFSET
1,2
FORMULA
EXAMPLE
a(4) = 23 = 1*1 + 2*2 + 3*2 + 4*12 = (1 + 4 + 6 + 12), given Golomb's sequence (1, 2, 2, 3, 3, 4, 4, 4,...).
a(4) = 23 = sum of row 4 terms of triangle A143124: (8 + 7 + 5 + 3).
CROSSREFS
KEYWORD
nonn
AUTHOR
Gary W. Adamson, Jul 26 2008
STATUS
approved