A361402a(1) = 5; a(n+1) is the smallest prime p > a(n) such that digsum(p) = a(n).

5, 23, 599, 7899999999999999999999999999999999999999999999999899999999999999999

The first term appear at position 4.

1415926535897932384626433832…
position 4
termsstringfirst positionoccurrences
15499,998,885
2523578999,931
3523599185,6571,041

Searched the first 1,000,000,000 digits. Strings longer than 12 digits are not indexed.