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-2 of 2 results.

A209535 Number of partitions of 0 of the form [x(1)+x(2)+...+x (j)] - [y(1)+y(2)+...+y(k)] where the x(i) are distinct positive integers <=n and the y(i) are distinct positive integers <= n.

Original entry on oeis.org

1, 2, 6, 10, 19, 35, 60, 96, 160, 260, 404, 629, 953, 1437, 2166, 3190, 4634, 6750, 9666, 13762, 19538, 27459, 38275, 53159, 73323, 100548, 137412, 186696, 252232, 339848, 455448, 607548, 808252, 1070396, 1412621, 1858845, 2436445
Offset: 1

Views

Author

Clark Kimberling, Mar 10 2012

Keywords

Examples

			0 = 1-1 = 2-2 = 3-3 = 3-(1+2) = (1+2)-3 = (1+2)-(1+2),
so that a(3) = 6.
		

Crossrefs

Programs

  • Mathematica
    p[n_] := PartitionsQ[Range[1, n]]; l[n_] := Length[p[n]];
    s[n_] := Apply[Plus, p[n]^2];
    Table[s[n], {n, 1, 45}]  (* A029536 *)

Formula

Let q (h) be the number of partitions of h>=1 into distinct parts, as in A000009. There are q(h)^2 ways to choose the sets {x(1),...,x(j)} and {y(1),...,y(k)} each having sum h. Consequently, there are q(1)^2 + q(2)^2 + ... + q(n)^2 partitions of 0 as described in the Name section.

A061972 Numbers n such that n divides the (left) concatenation of all numbers <= n written in base 19 (most significant digit on right).

Original entry on oeis.org

1, 3, 9, 27, 33, 36, 81, 183, 223, 261, 263, 351, 585, 1035, 1092, 1173, 1732, 2235, 2628, 3492, 8577, 11592, 13617, 15663, 20664, 20709, 23333, 25848, 52689, 67608, 334536, 837112, 2765341, 5319444
Offset: 1

Views

Author

Larry Reeves (larryr(AT)acm.org), May 24 2001

Keywords

Comments

This sequence differs from A029536 in that all least significant zeros are kept during concatenation.
No more terms < 7*10^6.

Examples

			See A061955 for example.
		

Crossrefs

Programs

  • Mathematica
    b = 19; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[Reverse[IntegerDigits[#, b]], c], b], #] &] (* Robert Price, Mar 09 2020 *)

Extensions

Edited and updated by Larry Reeves (larryr(AT)acm.org), Apr 12 2002
a(32)-a(34) from Lars Blomberg, Jul 31 2011
Showing 1-2 of 2 results.