For future reference, that page says those formulas are in MathJax. If you go to this page and paste them, it will convert them to something more readable.

In a Blueprint, right click and search for “Add Math Expression…” Here are the operations/functions it supports

If you paste an expression into the name or expression fields of this new node, it will automatically assign inputs and build the appropriate blueprint graph. You can double click on the expression node to see its structure.

the expression:

b*(power(r,k)*power(r,n)-1)/(r-1)

will output cost from formula 1

the expression:

floor(log(c*(r-1)/b*(power(r,k))+1,r))

will output max from formula 2.