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