OFFSET
1,2
LINKS
Maxim Skorohodov, Table of n, a(n) for n = 1..10000
EXAMPLE
sqrt(5) = 2.23606798..., so a(5) = 0.
PROG
(C++) int a(int n) { return int(10000 * sqrt(n)) % 10; }
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Maxim Skorohodov, Oct 28 2019
STATUS
approved