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

A261422 Number of ordered triples (u,v,w) of palindromes such that u+v+w=n.

Original entry on oeis.org

1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 63, 72, 79, 84, 87, 88, 87, 84, 79, 72, 66, 55, 51, 45, 40, 36, 33, 31, 30, 30, 30, 33, 27, 34, 33, 33, 33, 33, 33, 33, 33, 33, 36, 27, 39, 36, 36, 36, 36, 36, 36, 36, 36, 39, 27, 45, 39, 39, 39, 39, 39, 39, 39, 39, 42, 27, 52, 42, 42, 42, 42, 42, 42, 42, 42, 45
Offset: 0

Views

Author

N. J. A. Sloane, Aug 27 2015

Keywords

Comments

It is known that a(n)>0 for all n.

Examples

			4 can be written as a sum of three palindromes in 15 ways: 4+0+0 (3 ways), 3+1+0 (6 ways), 2+2+0 (3 ways), and 2+1+1 (3 ways), so a(4)=15.
		

Crossrefs

Cf. A002113. Differs from A261132, which assumes 0 <= u <= v <= w.
For records see A262544, A262545.

Programs

  • Mathematica
    (* This program is not suitable to compute a large number of terms. *)
    compositions[n_, k_] := Flatten[Permutations[PadLeft[#, k]]& /@ IntegerPartitions[n, k], 1];
    a[n_] := Select[compositions[n, 3], AllTrue[#, PalindromeQ]&] // Length;
    Table[a[n], {n, 0, 100}] (* Jean-François Alcover, Aug 05 2018 *)

Formula

G.f. = P(x)^3, where P(x) = 1 + x + x^2 + x^3 + x^4 + x^5 + x^6 + x^7 + x^8 + x^9 + x^11 + x^22 + x^33 + x^44 + x^55 + x^66 + x^77 + x^88 + x^99 + x^101 + x^111 + ... = Sum_{palindromes p} x^p.

A262544 Records in A261422.

Original entry on oeis.org

1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 63, 72, 79, 84, 87, 88, 117, 126, 135, 142, 147, 150, 151, 153, 156, 159, 162, 168, 177, 198, 207, 213, 216, 219, 222, 226, 231, 261, 264, 270, 279, 297, 318, 342, 369, 375, 426, 429, 465, 513, 567, 591, 660, 663, 678, 681, 729, 820, 870, 963, 982, 1005
Offset: 1

Views

Author

N. J. A. Sloane, Oct 06 2015

Keywords

Crossrefs

A262524 Numbers that can be represented as the sum of three base-10 palindromes in more ways than any smaller number. Position of records in A261132.

Original entry on oeis.org

2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 110, 143, 165, 187, 303, 323, 345, 373, 383, 393, 413, 446, 454, 464, 474, 484, 494, 504, 514, 544, 565, 575, 585, 595, 605, 615, 635, 686, 696, 706, 716, 726, 736, 746, 797, 807, 817, 827, 837, 898, 908, 918, 928, 938, 948, 999, 1009
Offset: 1

Views

Author

Hugo Pfoertner, Sep 24 2015

Keywords

Comments

The corresponding representation counts A261132(a(n)) are provided in A262525.

Crossrefs

See A261422, A262544, A262545 for another approach.

A262525 Records in the number of ways to represent a number as the sum of three base-10 palindromes, A261132.

Original entry on oeis.org

1, 2, 3, 4, 5, 7, 8, 10, 12, 13, 15, 16, 17, 18, 22, 25, 28, 29, 30, 36, 37, 38, 40, 42, 47, 48, 49, 53, 56, 61, 65, 66, 74, 75, 76, 83, 92, 101, 104, 116, 119, 128, 143, 151, 166, 170, 173, 174, 197, 210, 231, 237, 243, 257, 278, 304, 315, 322, 323, 330, 363, 389, 402, 411, 434, 474, 490, 501, 524, 575
Offset: 1

Views

Author

Hugo Pfoertner, Sep 24 2015

Keywords

Comments

The positions of the records are provided in A262524.

Crossrefs

See A261422, A262544, A262545 for another approach.

A262526 Any number greater than a(n) can conjecturally be represented in more ways by sums of three base-10 palindromes than a(n).

Original entry on oeis.org

1, 2, 3, 4, 98, 120, 142, 164, 172, 192, 212, 223, 2082, 2102, 2203, 2213, 130282, 130992, 131392, 131492, 131592, 131742, 131752, 131792, 131902, 132002, 132102, 132192, 132202, 132482, 132502, 132602, 132662, 132672, 132752, 132782, 132802
Offset: 1

Views

Author

Hugo Pfoertner, Sep 25 2015

Keywords

Comments

The corresponding representation counts are provided in A262527. Positions of latest occurrence of increasing minima of representation counts in A261132. The sequence provides numerical evidence for the validity of the conjecture that every number is the sum of three palindromes.

Examples

			a(5)=98 because A261132(k)>5 for all k>98.
a(7)=142 because A261132(k)>A262527(7)=8 for all k>142.
		

Crossrefs

See A261422, A262544, A262545 for another approach.

A262527 Conjectured minimum number of ways to represent a number >= A262526(i) by sums of three base-10 palindromes.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 8, 11, 13, 14, 15, 16, 17, 18, 21, 27, 29, 35, 41, 45, 48, 51, 54, 55, 56, 61, 63, 64, 65, 74, 75, 79, 80, 82, 83, 85, 86, 87, 91, 111, 112, 113, 114, 115, 116, 118, 120, 121, 124, 127, 133, 134, 138, 140, 141, 142, 145, 147, 150, 153, 165, 169, 171, 174, 175, 177, 179, 180, 183, 184, 185
Offset: 1

Views

Author

Hugo Pfoertner, Sep 25 2015

Keywords

Comments

The sequence is obtained by sorting the counts A261132 into increasing order together with their positions of occurrence. If a new record in the sorted A261132 is found, the index of its latest occurrence in A261132 becomes the next term in A262526 and the corresponding value of A261132 becomes a(n).
7 is not in the sequence, because the latest occurrence of 7 is at A261132(64), whereas the latest occurrence of 6 had already set the record to A262526(6) = 120.
a(7) = 8 corresponds to the latest occurrence of 8 at A261132(142), thus A262526(7) = 142.

Examples

			a(5) = 5 because A261132(k) > 5 for all k > A262526(5) = 98.
		

Crossrefs

See A261422, A262544, A262545 for another approach.
Showing 1-6 of 6 results.