A176773 Smallest power of 14 whose decimal expansion contains n.
105413504, 1, 2744, 38416, 14, 537824, 196, 2744, 38416, 196, 105413504, 11112006825558016, 56693912375296, 105413504, 14, 155568095557812224, 38416, 2177953337809371136, 5976303958948914397184, 196, 20661046784, 2177953337809371136
Offset: 0
Examples
a(1) = 1 because 14^0 = 1 has "1" as a substring (not a proper substring, though). a(2) = 2744 because 14^3 = 2744 has "2" as a substring. a(3) = 38416 because 14^4 = 38416 has "3" as a substring.
Links
- Paolo Xausa, Table of n, a(n) for n = 0..10000
Programs
-
Mathematica
A176773[n_] := Block[{k = -1}, While[StringFreeQ[IntegerString[14^++k], IntegerString[n]]]; 14^k]; Array[A176773, 50, 0] (* Paolo Xausa, Apr 03 2024 *)
Extensions
More terms from Sean A. Irvine and Jon E. Schoenfield, May 05 2010
a(0) prepended by Paolo Xausa, Apr 03 2024
Comments