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.

A235698 a(n+1) = a(n) + (smallest digit of a(n)) + 1, a(0)=0.

Original entry on oeis.org

0, 1, 3, 7, 15, 17, 19, 21, 23, 26, 29, 32, 35, 39, 43, 47, 52, 55, 61, 63, 67, 74, 79, 87, 95, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 113, 115, 117, 119, 121, 123, 125, 127, 129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151, 153, 155, 157, 159, 161, 163, 165, 167, 169, 171, 173, 175, 177, 179, 181, 183, 185, 187
Offset: 0

Views

Author

M. F. Hasler, Jan 14 2014

Keywords

Comments

It is obvious why the "+ 1" has to be there.
In the range where 100 < a(n) < 200, the gaps may only be 1 or 2, similarly for other multiples of 100, 1000, etc

Crossrefs

Cf. A045844.

Programs

  • PARI
    print1(0", "a=1); for(i=1, 99, print1(", ", a+=vecmin(digits(a))+1))

Extensions

PARI code corrected by Colin Barker, Sep 20 2014