/ analytic versions adapted from the reddit thread d:3018458 -1+2*d-2/1_2>2\d / 1842613 2/(1_2\d),1 d-p+0|d-2*p:(d>3*)(3*)/1 / 1424135