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.

A240015 Number of partitions of n, where the difference between the number of odd parts and the number of even parts is 6.

Original entry on oeis.org

1, 0, 1, 1, 2, 2, 4, 4, 7, 8, 12, 14, 21, 24, 33, 41, 53, 66, 84, 104, 130, 162, 198, 246, 300, 369, 445, 548, 655, 801, 956, 1160, 1378, 1666, 1970, 2368, 2796, 3340, 3933, 4679, 5494, 6505, 7626, 8987, 10511, 12346, 14404, 16856, 19631, 22893, 26606, 30939
Offset: 6

Views

Author

Alois P. Heinz, Mar 30 2014

Keywords

Comments

With offset 12 number of partitions of n, where the difference between the number of odd parts and the number of even parts is -6.

Crossrefs

Column k=6 of A240009.

Programs

  • Maple
    b:= proc(n, i, t) option remember; `if`(abs(t)>n, 0,
          `if`(n=0, 1, `if`(i<1, 0, b(n, i-1, t)+
          `if`(i>n, 0, b(n-i, i, t+(2*irem(i, 2)-1))))))
        end:
    a:= n-> b(n$2, -6):
    seq(a(n), n=6..80);