Just, because I have looked at how to do that calculation recently for other reasons:
Both calculations are obviously equivalent (except for the +1 in my use case). But I do like in my formula that the constants 208 and 4492800 actually are the beginning of Shelley.