OFFSET
1,1
MATHEMATICA
Select[Range[1000], MemberQ[Partition[IntegerDigits[#, 5], 2, 1], {1, 3}]&&!MemberQ[Partition[IntegerDigits[#+1, 5], 2, 1], {1, 3}]&] (* Harvey P. Dale, Mar 11 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved