login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A236046
Smallest number m > 1 such that m^n does not contain m as a substring.
2
2, 2, 2, 11, 2, 3, 3, 11, 3, 3, 2, 11, 2, 11, 2, 11, 11, 3, 2, 14, 2, 2, 7, 11, 2, 3, 3, 11, 11, 12, 14, 11, 2, 2, 2, 11, 11, 2, 3, 14, 2, 13, 12, 11, 2, 11, 12, 11, 3, 14, 11, 11, 2, 3, 11, 11, 12, 11, 11, 14, 12, 11, 2, 11, 12, 11, 11, 13, 11, 13, 13, 18
OFFSET
2,1
LINKS
PROG
(Haskell)
import Data.List (isInfixOf)
a236046 n = head [x | x <- [2..], not $ show x `isInfixOf` (show $ x ^ n)]
(PARI) a(n) = my(k=2); while(#strsplit(Str(k^n), Str(k))!=1, k++); k; \\ Michel Marcus, Jan 25 2022
CROSSREFS
Sequence in context: A087628 A263060 A089871 * A289898 A068971 A019233
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Jan 18 2014
STATUS
approved