OFFSET
1,1
MATHEMATICA
Flatten[Position[Partition[Table[If[MemberQ[Partition[IntegerDigits[ n, 7], 2, 1], {2, 5}], 1, 0], {n, 2000}], 2, 1], {0, 1}]]+1 (* Harvey P. Dale, Mar 04 2015 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved