A113505 Numbers not the sum of at most three perfect powers (A001597).
7, 15, 23, 87, 111, 119, 167, 335, 1391, 1455, 1607, 1679, 1991, 25887, 26375
Offset: 1
Links
- Eric Weisstein's World of Mathematics, Perfect Power
- Eric Weisstein's World of Mathematics, Powerful Number.
Programs
-
Mathematica
lmt = 40000; s = Union@ Join[{0, 1}, Flatten@ Table[n^i, {n, 2, Sqrt@ lmt}, {i, 2, Log[n, lmt]}]]; t = Select[ Union[Plus @@@ Tuples[s, 3]], # < lmt + 1 &]; Complement[Range@ lmt, t] (* Robert G. Wilson v *)
Extensions
Edited by Robert G. Wilson v, May 01 2006
Comments