login
Numbers k such that string 6,6 occurs in the base 8 representation of k but not of k-1.
1

%I #10 Sep 03 2025 09:10:28

%S 54,118,182,246,310,374,432,502,566,630,694,758,822,886,944,1014,1078,

%T 1142,1206,1270,1334,1398,1456,1526,1590,1654,1718,1782,1846,1910,

%U 1968,2038,2102,2166,2230,2294,2358,2422,2480,2550

%N Numbers k such that string 6,6 occurs in the base 8 representation of k but not of k-1.

%H Paolo Xausa, <a href="/A044241/b044241.txt">Table of n, a(n) for n = 1..10000</a>

%t A044241Q[k_] := StringContainsQ[IntegerString[k, 8], "66"] && StringFreeQ[IntegerString[k - 1, 8], "66"];

%t Select[Range[5000], A044241Q] (* _Paolo Xausa_, Sep 03 2025 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_