Hexy prime sum

Let \(\zeta(n)\) be the largest prime strictly less than \(n\). Evaluate the sum \[\large{\sum_{n=2}^{2500} \zeta(h_n) }\]

Details and assumptions

  • \(h_n\) is the \(n\)'th hexagonal number : \(h_n = 2n^2 - n \)
  • As a challenge, try not using any external libraries.
×

Problem Loading...

Note Loading...

Set Loading...