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”).

A328820
Fourth digit after decimal point of square root of n.
1
0, 2, 0, 0, 0, 4, 7, 4, 0, 2, 6, 1, 5, 6, 9, 0, 1, 6, 8, 1, 5, 4, 8, 9, 0, 0, 1, 5, 1, 2, 7, 8, 5, 9, 0, 0, 7, 4, 9, 5, 1, 7, 4, 2, 2, 3, 6, 2, 0, 0, 4, 1, 1, 4, 1, 3, 8, 7, 1, 9, 2, 0, 2, 0, 2, 0, 3, 2, 6, 6, 1, 2, 0, 3, 2, 7, 9, 7, 1, 2, 0, 3, 4, 1, 5, 6, 3, 8, 9, 8, 3, 6, 6, 3, 7, 9, 8, 4, 8, 0
OFFSET
1,2
LINKS
FORMULA
a(n) = A010879(A000196(100000000*n)).
EXAMPLE
sqrt(5) = 2.23606798..., so a(5) = 0.
PROG
(C++) int a(int n) { return int(10000 * sqrt(n)) % 10; }
CROSSREFS
Sequence in context: A181566 A348513 A110173 * A259863 A283666 A131427
KEYWORD
nonn,easy,base
AUTHOR
Maxim Skorohodov, Oct 28 2019
STATUS
approved