OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
f[n_] := Length[StringPosition[ToString[FromDigits[IntegerDigits[n, 6]]], "32", 1]]; Select[Table[n, {n, 10000}], f[#] > 0 && f[# - 1] == 0 &] (* Vladimir Joseph Stephan Orlovsky, Jul 20 2011 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 6], {3, 2}]>0, 1, 0], {n, 1500}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Apr 23 2020 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved