OFFSET
0,1
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..10000
FORMULA
a(n) = 7^A062524(n). - Michel Marcus, Sep 30 2014
EXAMPLE
a(1) = 1 because 7^0 = 1 has "1" as a substring (not a proper substring, though).
a(2) = 2401 because 7^4 = 2401 has "2" as a substring.
a(3) = 343 because 7^3 = 343 has "3" as a substring.
MATHEMATICA
A176767[n_] := Block[{k = -1}, While[StringFreeQ[IntegerString[7^++k], IntegerString[n]]]; 7^k]; Array[A176767, 50, 0] (* Paolo Xausa, Apr 03 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
Extended to a(0) by M. F. Hasler, Oct 03 2014
STATUS
approved
