they had terrified the apprentice out of his wits , which had given domdaniel some amusement and an excuse to leave the boy shivering out on the landing while he tried , yet again , to learn the thirteen times tables .