OFFSET
0,1
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..10000
EXAMPLE
a(1) = 1 because 13^0 = 1 has "1" as a substring (not a proper substring, though).
a(2) = 2197 because 13^3 = 2197 has "2" as a substring.
a(3) = 13 because 13^1 = 13 has "3" as a substring.
MATHEMATICA
A176772[n_] := Block[{k = -1}, While[StringFreeQ[IntegerString[13^++k], IntegerString[n]]]; 13^k]; Array[A176772, 50, 0] (* Paolo Xausa, Apr 04 2024 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Jonathan Vos Post, Apr 25 2010
EXTENSIONS
More terms from Sean A. Irvine and Jon E. Schoenfield, May 05 2010
a(0) prepended by Paolo Xausa, Apr 04 2024
STATUS
approved