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