login
A044034
Numbers k such that 5 and 9 occur juxtaposed in the base-10 representation of k but not of k+1.
1
59, 95, 159, 195, 259, 295, 359, 395, 459, 495, 559, 599, 659, 695, 759, 795, 859, 895, 959, 995, 1059, 1095, 1159, 1195, 1259, 1295, 1359, 1395, 1459, 1495, 1559, 1599, 1659, 1695, 1759, 1795, 1859, 1895, 1959, 1995, 2059
OFFSET
1,1
MATHEMATICA
Select[Range[2500], MemberQ[Sort/@Partition[IntegerDigits[#], 2, 1], {5, 9}] && !MemberQ[Sort/@Partition[IntegerDigits[#+1], 2, 1], {5, 9}]&](* Harvey P. Dale, Jun 20 2011 *)
CROSSREFS
Sequence in context: A186399 A039431 A043254 * A142152 A112804 A240339
KEYWORD
nonn,base
STATUS
approved