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.

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

This page as a plain text file.
%I A056870 #6 Jun 19 2025 16:02:44
%S A056870 0,1,2,5,9,16,26,42,64,96,140,202,285,398,547,746,1005,1344,1780,2343,
%T A056870 3059,3972,5123,6576,8392,10663,13481,16977,21286,26594,33096,41055,
%U A056870 50750,62548,76846,94155,115032,140183,170386,206611,249934,301682
%N A056870 Difference between partial sums of partition numbers (A026905) and partial sums of numbers of partitions into distinct parts (A026906).
%t A056870 Table[ Sum[ PartitionsP[k], {k, 1, n}] - Sum[PartitionsQ[k], {k, 1, n}], {n, 1, 45}]
%t A056870 (* second program *)
%t A056870 Module[{nn=50},#[[1]]-#[[2]]&/@Thread[{Accumulate[PartitionsP[Range[nn]]],Accumulate[PartitionsQ[Range[nn]]]}]] (* _Harvey P. Dale_, Jun 19 2025 *)
%Y A056870 Cf. A026905, A026906, A056871.
%K A056870 nonn
%O A056870 1,3
%A A056870 _Robert G. Wilson v_, Sep 02 2000