|
|
A067443
|
|
Smallest n-th power starting with 2.
|
|
9
|
|
|
2, 25, 27, 256, 243, 262144, 2187, 256, 262144, 282475249, 2048, 244140625, 2541865828329, 268435456, 205891132094649, 2821109907456, 232630513987207, 262144, 274877906944, 278218429446951548637196401, 2097152, 2384185791015625, 27368747340080916343
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
MATHEMATICA
|
a = {}; Do[k = 1; While[First[IntegerDigits[k^n]] != 2, k++ ]; a = Append[a, k^n], {n, 1, 25}]; a (* Robert G. Wilson v *)
|
|
PROG
|
(Python)
def a(n):
r = 1
while str(r**n)[0] != '2': r += 1
return r**n
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|