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