login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A328819
Third digit after decimal point of square root of n.
1
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,2
LINKS
FORMULA
a(n) = A010879(A000196(1000000*n)).
EXAMPLE
sqrt(21) = 4.58257569..., so a(21) = 2.
PROG
(C++) int a(int n) { return int(1000 * sqrt(n)) % 10; }
(PARI) a(n) = floor(10^3*sqrt(n)) % 10; \\ Jinyuan Wang, Nov 03 2019
CROSSREFS
Cf. A023961 (1st digit), A111862 (2nd digit).
Sequence in context: A352750 A195388 A255324 * A330578 A355289 A245970
KEYWORD
nonn,easy,base
AUTHOR
Maxim Skorohodov, Oct 28 2019
STATUS
approved