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.

A032907 Numbers whose base-10 representation Sum_{i=0..m} d(i)*10^i has d(0) <= d(1) >= d(2) <= ...

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 21, 22, 30, 31, 32, 33, 40, 41, 42, 43, 44, 50, 51, 52, 53, 54, 55, 60, 61, 62, 63, 64, 65, 66, 70, 71, 72, 73, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 86, 87, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 110, 111, 120
Offset: 1

Views

Author

Keywords

Crossrefs

Differs from A032873 and A009996.

Programs

  • PARI
    is(n)=my(d=digits(n));r=1;forstep(i=#d,2,-1,if((-1)^(#d-i)*d[i]>(-1)^(#d-i)*d[i-1],r=0;break));r \\ David A. Corneth, Feb 01 2015