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.

A099150 Positive integers k such that f(k)+f(k)=concatenation of k and k, where f(k)=k(k+3)/2 (A000096).

Original entry on oeis.org

8, 98, 998, 9998, 99998, 999998, 9999998, 99999998, 999999998, 9999999998, 99999999998, 999999999998, 9999999999998, 99999999999998, 999999999999998, 9999999999999998, 99999999999999998, 999999999999999998, 9999999999999999998, 99999999999999999998
Offset: 1

Views

Author

John W. Layman, Sep 30 2004

Keywords

Comments

By the definition, k*(k+3) = k*10^m+k. So k+3 = 10^m+1, that is k = 10^m-2. - Seiichi Manyama, Aug 31 2019

Examples

			99998*(99998+3) = 9999899998 (concatenation of 99998 and 99998).
		

Crossrefs

Programs

  • PARI
    for(k=1, 1e9, if(k*(k+3)==eval(Str(k, k)), print1(k", "))) \\ Seiichi Manyama, Aug 31 2019
    
  • PARI
    {a(n) = 10^n-2} \\ Seiichi Manyama, Aug 31 2019

Formula

a(n) = A002283(n) - 1 = 10^n - 2. - Seiichi Manyama, Aug 31 2019
From Chai Wah Wu, Jun 15 2020: (Start)
a(n) = 11*a(n-1) - 10*a(n-2) for n > 2.
G.f.: x*(10*x + 8)/((x - 1)*(10*x - 1)). (End)
E.g.f.: 1 - 2*exp(x) + exp(10*x). - Stefano Spezia, May 02 2025
a(n) = 2*A198971(n-1) = A177096(n)/5. - Elmo R. Oliveira, May 02 2025

Extensions

a(9)-a(20) from Seiichi Manyama, Aug 31 2019