> For the complete documentation index, see [llms.txt](https://trizen.gitbook.io/sidef-lang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trizen.gitbook.io/sidef-lang/programming_tasks/m/meissel_mertens_constant.md).

# Meissel Mertens constant

```ruby
var sum = 0
1e7.each_prime {|p|
    with (1f/p) {|t|
        sum += (log(1 - t) + t)
    }
}
say sum+Num.EulerGamma
```

#### Output:

```
0.26149721577767111119422410228297206467931376306
```
