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
KEYWORD
nonn,base
AUTHOR
STATUS
approved