cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A179529 Number of terms of A083207 in 12 consecutive numbers.

Original entry on oeis.org

2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 4, 4, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 3
Offset: 1

Views

Author

Reinhard Zumkeller, Jul 19 2010

Keywords

Comments

a(n) = SUM(A179527(k): n <= k < n+12);
F. Buss and T. D. Noe conjectured a(n) > 0; this is correct (proof by R. Gerbicz);
a(n+1) = A179528(n+12) - A179528(n);
a(A179530(n)) = n and a(m) <> n for m < A179530(n).

Programs

  • Mathematica
    ZumkellerQ[n_] := Module[{d = Divisors[n], t, ds, x}, ds = Total[d]; If[Mod[ds, 2] > 0, False, t = CoefficientList[Product[1 + x^i, {i, d}], x]; t[[1 + ds/2]] > 0]];
    a[n_] := Sum[Boole[ZumkellerQ[k]], {k, n, n + 11}];
    Array[a, 105] (* Jean-François Alcover, Apr 30 2017, after T. D. Noe *)