|
|
A084676
|
|
Position of the first zero in the decimal expansion of the square root of the n-th prime.
|
|
0
|
|
|
14, 5, 5, 11, 10, 3, 6, 13, 26, 9, 13, 2, 3, 12, 9, 4, 15, 4, 24, 19, 5, 19, 4, 11, 9, 1, 1, 1, 1, 1, 23, 18, 4, 40, 4, 7, 9, 13, 14, 16, 6, 9, 5, 16, 3, 4, 9, 12, 3, 11, 18, 14, 14, 27, 3, 11, 4, 6, 12, 6, 7, 34, 48, 9, 7, 4, 7, 11, 9, 16, 12, 50, 9, 7, 18, 5, 6, 34, 1, 1, 1, 1, 1, 1, 1, 3, 8
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
sqrt(1213) = 34.82814953453599722269575212191436263382649518168323557106085786016708, first zero is at position 57.
|
|
PROG
|
(PARI) \ zeros in sqrt(p) where p is prime. frootp(n) = { default(realprecision, 100); forprime(x=2, n, r = sqrt(x); \ print(x" "r); v = Vec(Str(r)); c=-1; for(y=1, 100, c++; if(v[y] == "0", print1(c", "); break) ) ) }
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|