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.

A079064 a(n) is the next available entirely straight or curved number, depending on whether n contains a straight digit or not.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 14, 17, 41, 44, 47, 71, 74, 77, 111, 200, 411, 500, 502, 711, 800, 802, 1111, 2000, 2002, 2003, 4111, 5000, 5002, 7111, 8000, 8002, 11111, 20000, 20002, 41111, 41114, 41117, 41141, 41144, 41147, 41171, 41174, 41177, 41411, 50000
Offset: 0

Views

Author

Jon Perry, Feb 02 2003

Keywords

Examples

			a(10) must be the first entirely straight number greater than 9, as 1 is straight, therefore a(10)=11.
a(20) must be the first entirely curved number greater than 111, therefore a(20)=200.
		

Crossrefs

Cf. A028373 (straight numbers), A028374 (curved numbers), A079170.

Extensions

Edited by Charles R Greathouse IV, Aug 02 2010
a(35) and beyond from David Consiglio, Jr., Oct 31 2023