31 of the scientists that attended a certain workshop were wolf prize laureates , and 13 of these 31 were also nobel prize laureates . of the scientists that attended that workshop and had not received the wolf prize , the number of scientists that had received the nobel prize was 3 greater than the number of scientists that had not received the nobel prize . if 51 of the scientists attended that workshop , how many of them were nobel prize laureates ?
"lets solve by creating equation . . w = 31 . . total = 52 . . not w = 52 - 31 = 21 . . now let people who were neither be x , so out of 19 who won nobel = x + 3 . . so x + x + 3 = 21 or x = 9 . . so who won nobel but not wolf = x + 3 = 12 . . but people who won both w and n = 13 . . so total who won n = 12 + 13 = 25 . . d"
add(add(3, divide(subtract(subtract(51, 31), 3), const_2)), 13)