A334194a(n) = n - d1*d2, where d1, d2 are the distances from n to the previous and the next prime number respectively.
1, 3, 1, 5, -1, 5, 5, 7, 3, 11, 5, 11, 11, 13, 9, 17, …
This sequence has negative terms. Minus signs are dropped before searching.
The first 9 terms appear at position 758,052,404.
1415926535897932384626433…
…34825342117067982148086513282306647093844609550582…
…599413891249721775283479131515574857242454150695950…
…5994138912497217752834791315155748572424541506959508…
…59941389124972177528347913151557485724245415069595082…
…599413891249721775283479131515574857242454150695950829…
…5994138912497217752834791315155748572424541506959508295…
…59941389124972177528347913151557485724245415069595082953…
…777331502411331198034288131515573964507318220072213605359…
| terms | string | first position | occurrences |
|---|---|---|---|
| 1 | 1 | 1 | 99,997,334 |
| 2 | 13 | 110 | 9,998,738 |
| 3 | 131 | 1,096 | 1,001,090 |
| 4 | 1315 | 1,096 | 100,103 |
| 5 | 13151 | 1,096 | 9,890 |
| 6 | 131515 | 1,096 | 970 |
| 7 | 1315155 | 1,096 | 92 |
| 8 | 13151557 | 1,096 | 11 |
| 9 | 131515573 | 758,052,404 | 1 |
| 10 | 13151557311 | not within 1,000,000,000 | 0 |
| 11 | 131515573115 | not within 1,000,000,000 | 0 |
Searched the first 1,000,000,000 digits. Strings longer than 12 digits are not indexed.