OFFSET
1,1
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
MATHEMATICA
A044149Q[k_] := StringContainsQ[IntegerString[k, 7], "14"] && StringFreeQ[IntegerString[k - 1, 7], "14"];
Select[Range[5000], A044149Q] (* Paolo Xausa, Sep 10 2025 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 7], {1, 4}]>0, 1, 0], {n, 2500}], {0, 1}][[;; , 2]] (* Harvey P. Dale, May 05 2026 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
More terms from Paolo Xausa, Sep 10 2025
STATUS
approved
