OFFSET
0,2
COMMENTS
The Erdős discrepancy of sequence s is defined to be the maximum of the absolute value of s(d) + s(2d) + ... + s(kd) over all k, d such that kd <= n.
a(n) = 0 for all n > A237695(2). - Rainer Rosenthal, Feb 17 2020
LINKS
Ehit Dinesh Agarwal, Table of n, a(n) for n = 0..60
Boris Konev and Alexei Lisitsa, A SAT attack on the Erdős Discrepancy Conjecture, arXiv:1402.2184 [cs.DM], 2014.
Michael Nielsen, Erdős discrepancy problem
EXAMPLE
For n = 3 the only sequences omitted are 1 1 1 and -1 -1 -1, so a(3) = 6.
CROSSREFS
KEYWORD
nonn
AUTHOR
Jeffrey Shallit, Nov 08 2010
EXTENSIONS
a(30)-a(41) from Allan C. Wechsler, Sep 19 2012
Title changed by Rainer Rosenthal, Feb 17 2020
STATUS
approved