login
A079064
a(n) is the next available entirely straight or curved number, depending on whether n contains a straight digit or not.
2
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,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 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.
Sequence in context: A202940 A082324 A219955 * A123176 A017902 A005710
KEYWORD
nonn,base
AUTHOR
Jon Perry, Feb 02 2003
EXTENSIONS
Edited by Charles R Greathouse IV, Aug 02 2010
a(35) and beyond from David Consiglio, Jr., Oct 31 2023
STATUS
approved