%I #3 Oct 01 2013 17:57:56
%S 4,1,2,3,3,3,0,8,6,2,9,8,6,1,3,0,6,9,0,4,8,7,8,5,1,7,5,8,6,9,6,8,2,2,
%T 0,9,1,2,9,5,7,9,7,2,5,1,1,4,8,2,7,4,8,6,3,4,7,4,0,7,2,2,3,5,6,8,5,2,
%U 7,0,7,7,5,7,7,3,6,8,1,9,8,5,7,0,4,8,4,8,5,0,4,7,5,5,7,2,2,7,5,6,2,5,4,7,6
%N a(n) = pth digit of sqrt(2) where p = nth prime.
%C The primeth digits of sqrt(2).
%C Are the numbers in this sequence uniformly distributed? Could this sequence and A090201A090203 be used as a random number generators?
%e The 5th prime is 11. The 11th digit of sqrt(2) is 3, the 5th term in the sequence.
%o (PARI) \primeth.gp primeth(n) = { default(realprecision,1000); p=Str(sqrt(2)*10^999); default(realprecision,28); forprime(x=2,n, print1(mid(p,x,1)",") ) } mid(str,s,n) = { v =""; tmp = Vec(str); ln=length(tmp); for(x=s,s+n1, v=concat(v,tmp[x]); ); return(v) }
%K base,easy,nonn
%O 2,1
%A _Cino Hilliard_, Jan 22 2004
