Title: Factors involved in the responses of primary school pupils to written mathematical tasks