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