OFFSET
1,2
EXAMPLE
The 7th row of triangle A112599 is [6,1,3,1,2,1,3]. So a(7) = 6+1+3+1+2+1+3 = 17.
MATHEMATICA
f[l_] := Block[{p, t}, p = l[[ -1]]; k = Length@p; t = Table[ Count[ GCD[p, n], 1], {n, k + 1}]; Return@Append[l, t]; ]; Plus @@@ Nest[f, {{1}}, 52] (* Robert G. Wilson v *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Dec 27 2005
EXTENSIONS
More terms from Robert G. Wilson v, Dec 28 2005
STATUS
approved