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.

A046486 Numbers k such that the sum of the first k palindromes is a palindrome.

Original entry on oeis.org

1, 2, 3, 12, 16, 47, 314
Offset: 1

Views

Author

Patrick De Geest, Sep 15 1998

Keywords

Examples

			a(n)=47 so 1+2+3+...+373+383 (47 terms) = 7557.
		

Crossrefs

Programs

A046488 Palindromes that are the sum of the first n palindromes for some n.

Original entry on oeis.org

1, 3, 6, 111, 353, 7557, 2376732
Offset: 1

Views

Author

Patrick De Geest, Sep 15 1998

Keywords

Comments

No additional terms up through the partial sums of all palindromes less than or equal to 10^7-1. - Harvey P. Dale, Jun 23 2018

Examples

			a(4) = 111 as 111 = 1+2+3+4+5+6+7+8+9+11+22+33.
		

Crossrefs

Programs

  • Mathematica
    palQ[n_] := Reverse[x = IntegerDigits[n]] == x; Select[Accumulate[Select[Range[25000], palQ]], palQ] (* Jayanta Basu, Jun 26 2013 *)
    Select[Accumulate[Select[Range[10^6],PalindromeQ]],PalindromeQ] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 23 2018 *)

Formula

a(n) = A046489(A046486(n)-1). - R. J. Mathar, Sep 09 2015

Extensions

Edited by Jonathan Sondow, Nov 28 2017
Showing 1-2 of 2 results.