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.

Showing 1-1 of 1 results.

A056870 Difference between partial sums of partition numbers (A026905) and partial sums of numbers of partitions into distinct parts (A026906).

Original entry on oeis.org

0, 1, 2, 5, 9, 16, 26, 42, 64, 96, 140, 202, 285, 398, 547, 746, 1005, 1344, 1780, 2343, 3059, 3972, 5123, 6576, 8392, 10663, 13481, 16977, 21286, 26594, 33096, 41055, 50750, 62548, 76846, 94155, 115032, 140183, 170386, 206611, 249934, 301682
Offset: 1

Views

Author

Robert G. Wilson v, Sep 02 2000

Keywords

Crossrefs

Programs

  • Mathematica
    Table[ Sum[ PartitionsP[k], {k, 1, n}] - Sum[PartitionsQ[k], {k, 1, n}], {n, 1, 45}]
    (* second program *)
    Module[{nn=50},#[[1]]-#[[2]]&/@Thread[{Accumulate[PartitionsP[Range[nn]]],Accumulate[PartitionsQ[Range[nn]]]}]] (* Harvey P. Dale, Jun 19 2025 *)
Showing 1-1 of 1 results.