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”).

A125304
a(n) is the smallest number whose n-th power has all its digits twice.
0
11, 88, 11, 207, 2955
OFFSET
1,1
COMMENTS
There may be no further terms.
EXAMPLE
11^1 = 11, 88^2 = 7744, 11^3 = 1331, 207^4 = 1836036801, 2955^5 = 225313610074846875.
MATHEMATICA
g[n_] := Block[{k = 2}, While[ Union[ Length@ # & /@ Split@ Sort@ IntegerDigits[k^n]] != {2}, k++ ]; k]; Do[ Print@ g@ n, {n, 5}] (* Robert G. Wilson v, Aug 31 2007 *)
CROSSREFS
Sequence in context: A224182 A119383 A001278 * A334249 A192827 A022735
KEYWORD
base,fini,nonn
AUTHOR
Tanya Khovanova, Dec 09 2006
STATUS
approved