grinding_codexp's blog

By grinding_codexp, history, 4 months ago, In English

I want to ask about this problem: 622F - The Sum of the k-th Powers. I solved it using lagrange interpolation 263080914 but can anyone help me implement the solution with Faulhaber's formula? Thanks very much.

  • Vote: I like it
  • +3
  • Vote: I do not like it

»
4 months ago, # |
  Vote: I like it 0 Vote: I do not like it

It's not easy to calculate the `Bernoulli number'. Also, the modulo is not NTT friendly.