A067445 Smallest n-th power starting with 4.
4, 4, 4096, 4096, 4084101, 4096, 4782969, 43046721, 40353607, 41426511213649, 4194304, 4096, 4503599627370496, 4782969, 470184984576, 43046721, 456487940826035155404146917, 426878854210636742656, 4394336169668803158610484050361, 4064231406647572522401601
Offset: 1
Links
- Robert Israel, Table of n, a(n) for n = 1..607
Programs
-
Maple
f:= proc(n) local x, y; for x from 2 do y:= x^n; if floor(y/10^ilog10(y)) = 4 then return x^n fi od end proc: map(f, [$1..50]); # Robert Israel, Apr 02 2025
-
Mathematica
a = {}; Do[k = 1; While[First[IntegerDigits[k^n]] != 4, k++ ]; a = Append[a, k^n], {n, 1, 25}]; a (* Robert G. Wilson v *)
Extensions
Moved Mathematica program to proper field -- Harvey P. Dale, Mar 31 2012
Comments