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