This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A045537 Least nontrivial exponent e such that n is a substring of n^e. 9
 2, 2, 5, 5, 3, 2, 2, 5, 5, 3, 2, 11, 14, 10, 8, 26, 6, 17, 5, 11, 5, 6, 10, 15, 3, 2, 19, 15, 7, 8, 5, 11, 3, 14, 14, 10, 6, 10, 6, 11, 3, 6, 18, 5, 11, 5, 18, 9, 5, 3, 2, 3, 7, 16, 17, 11, 3, 5, 9, 11, 2, 6, 7, 7, 11, 17, 15, 8, 5, 11, 5, 9, 8, 5, 8, 3, 2, 16, 21, 11, 5, 6, 14, 4, 11, 22, 22, 7 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 COMMENTS n^a(n) = A104782(n). LINKS Reinhard Zumkeller and Zak Seidov, Table of n, a(n) for n = 0..10000. Terms up to a(1000) from Reinhard Zumkeller. MAPLE P:=proc(n) local k; k:=2; while searchtext(convert(n, string), convert(n^k, string))=0 do k:=k+1; od; k; end: seq(P(i), i=0..87); # Paolo P. Lava, Apr 19 2018 MATHEMATICA f[n_] := Block[{k = 2}, While[ StringPosition[ ToString[n^k], ToString[n]] == {}, k++ ]; k]; Table[ f[n], {n, 0, 87}] (* Robert G. Wilson v, May 09 2005 *) PROG (Haskell) import Data.List (isInfixOf) a045537 n = 2 + length    (takeWhile (not . ((show n) `isInfixOf`) . show) \$ iterate (* n) (n^2)) -- Reinhard Zumkeller, Sep 29 2011 CROSSREFS Cf. A051248, A070327, A104782. Sequence in context: A283825 A005177 A253600 * A243941 A161622 A116559 Adjacent sequences:  A045534 A045535 A045536 * A045538 A045539 A045540 KEYWORD base,nonn AUTHOR STATUS approved

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

Last modified October 15 15:14 EDT 2019. Contains 328030 sequences. (Running on oeis4.)