A080883Distance of n to next square.
1, 3, 2, 1, 5, 4, 3, 2, 1, 7, 6, 5, 4, 3, 2, 1, …
The first term appear at position 1.
1415926535897932384626433…
…34825342117067982148086513282306647093844609550582…
…348253421170679821480865132823066470938446095505822…
…2677040395648127810217991321741630581055459880130048…
…78203856539099104775941413215432844062503018027571696…
…782038565390991047759414132154328440625030180275716965…
…7820385653909910477594141321543284406250301802757169650…
…78203856539099104775941413215432844062503018027571696508…
| terms | string | first position | occurrences |
|---|---|---|---|
| 1 | 1 | 1 | 99,997,334 |
| 2 | 13 | 110 | 9,998,738 |
| 3 | 132 | 110 | 999,211 |
| 4 | 1321 | 16,563 | 100,042 |
| 5 | 13215 | 20,023 | 9,862 |
| 6 | 132154 | 20,023 | 925 |
| 7 | 1321543 | 20,023 | 88 |
| 8 | 13215432 | 20,023 | 8 |
| 9 | 132154321 | not within 1,000,000,000 | 0 |
| 10 | 1321543217 | not within 1,000,000,000 | 0 |
| 11 | 13215432176 | not within 1,000,000,000 | 0 |
| 12 | 132154321765 | not within 1,000,000,000 | 0 |
Searched the first 1,000,000,000 digits. Strings longer than 12 digits are not indexed.