login
Smallest power of 14 whose decimal expansion contains n.
11

%I #12 Apr 03 2024 10:06:40

%S 105413504,1,2744,38416,14,537824,196,2744,38416,196,105413504,

%T 11112006825558016,56693912375296,105413504,14,155568095557812224,

%U 38416,2177953337809371136,5976303958948914397184,196,20661046784,2177953337809371136

%N Smallest power of 14 whose decimal expansion contains n.

%C This is to 14 as A176763 is to 3 and as A030001 is to 2.

%H Paolo Xausa, <a href="/A176773/b176773.txt">Table of n, a(n) for n = 0..10000</a>

%F a(n) = MIN{A001023(i) such that n in decimal representation is a substring of A001023(i)}.

%e a(1) = 1 because 14^0 = 1 has "1" as a substring (not a proper substring, though).

%e a(2) = 2744 because 14^3 = 2744 has "2" as a substring.

%e a(3) = 38416 because 14^4 = 38416 has "3" as a substring.

%t A176773[n_] := Block[{k = -1}, While[StringFreeQ[IntegerString[14^++k], IntegerString[n]]]; 14^k]; Array[A176773, 50, 0] (* _Paolo Xausa_, Apr 03 2024 *)

%Y Cf. A001023, A030001, A176763, A176764-A176773.

%K base,easy,nonn

%O 0,1

%A _Jonathan Vos Post_, Apr 25 2010

%E More terms from _Sean A. Irvine_ and _Jon E. Schoenfield_, May 05 2010

%E a(0) prepended by _Paolo Xausa_, Apr 03 2024