It was wrong, I fixed it all. The last two sections are divided by two for the Arduino. I also left in the decimals because they might factor into someone's results.
I was figuring out how to smoothly dim/fade some neon sign segments and they needed something close to 100Hz, so I had calculated most of the data and checked it with an oscilloscope already.