1,3

The first two terms are zero because the first two terms of the EKG sequence are given. The growth rate is approximately quadratic. An almost linear-time algorithm is described in the Lagarias-Rains-Sloane paper.

T. D. Noe, Table of n, a(n) for n=1..1000

J. C. Lagarias, E. M. Rains and N. J. A. Sloane, The EKG Sequence

a(n) = sum_{k=1..n} A178760(k)

Sequence in context: A316946 A005984 A172186 * A274037 A227975 A123645

Adjacent sequences: A178758 A178759 A178760 * A178762 A178763 A178764

nonn

T. D. Noe, Jun 10 2010

approved