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.

A002477 Wonderful Demlo numbers: a(n) = ((10^n - 1)/9)^2.

Original entry on oeis.org

1, 121, 12321, 1234321, 123454321, 12345654321, 1234567654321, 123456787654321, 12345678987654321, 1234567900987654321, 123456790120987654321, 12345679012320987654321, 1234567901234320987654321
Offset: 1

Views

Author

Keywords

Comments

Only the first nine terms of this sequence are palindromes. - Bui Quang Tuan, Mar 30 2015
Not all of the terms are Demlo numbers as defined by Kaprekar, i.e., concat(L,M,R) with M and L+R repdigits using the same digit. For example, a(10), a(19), a(28) are not, but a(k) for k = 11, 12, ..., 18 are. - M. F. Hasler, Nov 18 2017

Examples

			From _José de Jesús Camacho Medina_, Apr 01 2016: (Start)
n=1: ....................... 1 = 9 / 9;
n=2: ..................... 121 = 1089 / 9;
n=3: ................... 12321 = 110889 / 9;
n=4: ................. 1234321 = 11108889 / 9;
n=5: ............... 123454321 = 1111088889 / 9;
n=6: ............. 12345654321 = 111110888889 / 9;
n=7: ........... 1234567654321 = 11111108888889 / 9;
n=8: ......... 123456787654321 = 1111111088888889 / 9;
n=9: ....... 12345678987654321 = 111111110888888889 / 9.        (End)
a(11) = concat(L = 1234567901, R = 20987654321), with L + R = 22222222222 = 2*(10^11-1)/9, of same length as R. - _M. F. Hasler_, Nov 23 2017
		

References

  • D. R. Kaprekar, On Wonderful Demlo numbers, Math. Stud., 6 (1938), 68.
  • Alfred S. Posamentier, Math Charmers, Tantalizing Tidbits for the Mind, Prometheus Books, NY, 2003, page 29.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

Formula

G.f.: x*(1+10*x) / ((1-x)*(1-10*x)*(1-100*x)). - Simon Plouffe in his 1992 dissertation
a(n+1) = 100*a(n) + 20*A000042(n) + 1; a(1) = 1. - Reinhard Zumkeller, May 31 2010
a(n) = A000042(n)^2.
a(n) = A075412(n)/9 = A178630(n)/18 = A178631(n)/27 = A075415(n)/36 = A178632(n)/45 = A178633(n)/54 = A178634(n)/63 = A178635(n)/72 = A059988(n)/81. - Reinhard Zumkeller, May 31 2010
a(n+2) = -1000*a(n)+110*a(n+1)+11. - Alexander R. Povolotsky, Jun 06 2014
E.g.f.: exp(x)*(1 - 2*exp(9*x) + exp(99*x))/81. - Stefano Spezia, May 23 2025

Extensions

Minor edits from N. J. A. Sloane, Aug 18 2009
Further edits from Reinhard Zumkeller, May 12 2010