At the age of 19 he was assigned to war work in the Operational Research Section (ORS) of RAF Bomber Command, where he developed analytical methods for calculating the ideal density for bomber formations to help the Royal Air Force bomb German targets during the Second World War. After the war, Dyson was readmitted to Trinity College, where he obtained a BA degree in mathematics. From 1946 to 1949 he was a fellow of his college, occupying rooms just below those of the philosopher Ludwig Wittgenstein, who resigned his professorship in 1947.