A395409a(n) = A033677(n) - A135034(n); excess of the smallest divisor of n >= sqrt(n) over ceiling(sqrt(n)).

0, 0, 1, 0, 2, 0, 4, 1, 0, 1, 7, 0, 9, 3, 1, 0, …

The first 5 terms appear at position 28,181.

…81543194019557685043724800102041374983187225967738715…
position 28,181
termsstringfirst positionoccurrences
103299,993,942
20030710,004,524
30013601,000,758
400109,984100,004
50010228,18110,101
600102028,1811,016
7001020428,18198
80010204128,18111
9001020410not within 1,000,000,0000
100010204101not within 1,000,000,0000
1100102041017not within 1,000,000,0000
12001020410170not within 1,000,000,0000

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