login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A176772 Smallest power of 13 whose decimal expansion contains n. 1
4826809, 1, 2197, 13, 4826809, 28561, 169, 2197, 28561, 169, 10604499373, 51185893014090757, 371293, 13, 51185893014090757, 815730721, 169, 62748517, 137858491849, 2197, 1461920290375446110677, 2197, 23298085122481 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
This is to 13 as A176763 is to 3 and as A030001 is to 2.
LINKS
FORMULA
a(n) = MIN{A001022(i) such that n in decimal representation is a substring of A001022(i)}.
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
Sequence in context: A203655 A248587 A204053 * A017538 A190583 A034637
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 15:18 EDT 2024. Contains 371960 sequences. (Running on oeis4.)