login
A079170
a(n) is the next available entirely straight or curved number, depending on whether n contains a curved digit or not.
2
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 20, 41, 50, 52, 71, 80, 82, 111, 200, 202, 203, 205, 206, 208, 209, 220, 222, 223, 225, 226, 228, 229, 230, 232, 233, 235, 236, 238, 239, 250, 252, 411, 500, 502, 711, 800, 802, 1111, 2000, 2002, 2003, 2005, 2006, 2008, 2009, 2020
OFFSET
0,3
LINKS
David Consiglio, Jr., Table of n, a(n) for n = 0..1000
David Consiglio, Jr., Python program
EXAMPLE
a(10) must be the first entirely curved number greater than 9, as 0 is curved, therefore a(10)=20.
a(17) must be the first entirely straight number greater than 82, therefore a(20)=111.
CROSSREFS
Cf. A028373 (straight numbers), A028374 (curved numbers), A079064.
Sequence in context: A180412 A290951 A114800 * A330927 A319387 A076105
KEYWORD
nonn,base
AUTHOR
Jon Perry, Feb 03 2003
EXTENSIONS
a(33) and beyond from David Consiglio, Jr., Oct 31 2023
STATUS
approved