A328819 Third digit after decimal point of square root of n.
0, 4, 2, 0, 6, 9, 5, 8, 0, 2, 6, 4, 5, 1, 2, 0, 3, 2, 8, 2, 2, 0, 5, 8, 0, 9, 6, 1, 5, 7, 7, 6, 4, 0, 6, 0, 2, 4, 4, 4, 3, 0, 7, 3, 8, 2, 5, 8, 0, 1, 1, 1, 0, 8, 6, 3, 9, 5, 1, 5, 0, 4, 7, 0, 2, 4, 5, 6, 6, 6, 6, 5, 4, 2, 0, 7, 4, 1, 8, 4, 0, 5, 0, 5, 9, 3, 7, 0, 3, 6, 9, 1, 3, 5, 6, 7, 8, 9, 9, 0
Offset: 1
Examples
sqrt(21) = 4.58257569..., so a(21) = 2.
Links
- Maxim Skorohodov, Table of n, a(n) for n = 1..10000
Programs
-
PARI
a(n) = floor(10^3*sqrt(n)) % 10; \\ Jinyuan Wang, Nov 03 2019