more LPTHW and a little Project Euler