OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..5000
MATHEMATICA
Select[Range[4000], MemberQ[Partition[IntegerDigits[#], 2, 1], {2, 6}] && !MemberQ[Partition[IntegerDigits[#-1], 2, 1], {2, 6}]&] (* Harvey P. Dale, Mar 20 2012 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {2, 6}]>0, 1, 0], {n, 3500}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jul 03 2021 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved