public boolean isHappy2(int n) {
		int fast =n, slow = n;
		do {
			slow = square(slow);
			fast = square(fast);
			fast = square(fast);
			if (slow == 1)
				return true;
		}while (fast != slow);
		return false;
	}