How do you solve this problem using J (brute force) n =. >: i. 1000 p =. n^n How many p are perfect cubes?
Skip Cave Cave Consulting LLC ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm