OFFSET
1,1
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
MATHEMATICA
A044115Q[k_] := StringContainsQ[IntegerString[k, 6], "21"] && StringFreeQ[IntegerString[k - 1, 6], "21"];
Select[Range[5000], A044115Q] (* Paolo Xausa, Sep 11 2025 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 6], {2, 1}]>0, 1, 0], {n, 1600}], {0, 1}][[;; , 2]] (* Harvey P. Dale, Mar 23 2026 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
More terms from Paolo Xausa, Sep 11 2025
STATUS
approved