OFFSET
1,1
MATHEMATICA
Select[Range[900], MemberQ[Sort/@Partition[IntegerDigits[#, 6], 2, 1], {1, 3}] && !MemberQ[Sort/@Partition[IntegerDigits[#-1, 6], 2, 1], {1, 3}]&] (* Harvey P. Dale, Sep 20 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved