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.

A108903 Numbers such that the outer 2 digits are 9 and the inner digits are 5.

Original entry on oeis.org

959, 9559, 95559, 955559, 9555559, 95555559, 955555559, 9555555559, 95555555559, 955555555559, 9555555555559, 95555555555559, 955555555555559, 9555555555555559, 95555555555555559, 955555555555555559
Offset: 1

Views

Author

Cino Hilliard, Jul 16 2005

Keywords

Comments

These numbers are all composite. They are divisible among other numbers by 3,7,11,13 depending on the form 6k+r, 0 < r < 6. See the link for a proof.

Programs

  • PARI
    g(n,r,m) = \\ repeat rrr.. surrounded by 2 m's
    { for(x=1,n, y=m*10^(x+1)+m+r*10*(10^x-1)/9; print(x",") ) }

Formula

S(x)=9*10^(x+1)+ 9 + 50*(10^x-1)/9.