dc "-e1d`factor|fmt -0|sed 1d|uniq -c|awk '$0=$2%4<2?$1"d+1+*":0'`r-p"