This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A181740 Number of sequences of length n over {1, -1} with Erdos discrepancy <= 2. This sequence may be finite. 0
 1, 2, 4, 6, 12, 18, 28, 44, 88, 100, 152, 240, 370, 556, 882, 750, 1500, 2250, 2784, 4284, 6438, 6062, 9526, 14856, 22944, 26164, 39528, 35122, 54800, 80940, 81326, 122422, 244844, 234934, 356154, 309068, 388042, 589796, 900000, 813466, 1212450, 1837030 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 COMMENTS The Erdos discrepancy is defined to be the maximum of the absolute value of a(d)+a(2d) + ... + a(kd) over all k, d such that kd <= n. LINKS Michael Nielsen, Erdos discrepancy problem EXAMPLE For n = 3 the only sequences omitted are 1 1 1 and -1 -1 -1, so a(3) = 6. CROSSREFS Sequence in context: A051683 A215821 A192096 * A192224 A167777 A007436 Adjacent sequences:  A181737 A181738 A181739 * A181741 A181742 A181743 KEYWORD nonn,changed AUTHOR Jeffrey Shallit, Nov 08 2010 EXTENSIONS a(30) through a(41) from Allan C. Wechsler, Sep 19 2012. STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .