%I #9 Feb 25 2017 18:29:27
%S 3,2,2,1,2,0,2,1,1,0,0,1,1,0,2,2,1,0,3,0,3,2,0,0,2,3,1,2,3,3,3,2,2,2,
%T 1,0,1,2,0,1,2,0,1,3,3,0,1,3,1,2,1,0,0,0,0,2,1,2,0,1,3,1,2,2,3,3,0,1,
%U 1,0,3,2,2,3,2,3,3,2,0,3,1,3,0,1,1,3,3,1,1,0,0,3,1,3,1,0,1,3,0,1,0
%N A sequence set up on the base 16 Pi digits BBP: a(n)=Floor[Mod[(4/(8*n + 1) - 2/(8*n + 4) - 1/(8*n + 5) - 1/(8*n + 6))*16^n, 4]].
%C The idea here is to associate a pseudo-random sequence with the BBP pi digits.
%H G. C. Greubel, <a href="/A152159/b152159.txt">Table of n, a(n) for n = 0..1000</a>
%F a(n) = Floor[Mod[(4/(8*n + 1) - 2/(8*n + 4) - 1/(8*n + 5) - 1/(8*n + 6))*16^n, 4]].
%t Table[Floor[Mod[(4/(8*n + 1) - 2/(8*n + 4) - 1/(8*n + 5) - 1/(8*n + 6))*16^n, 4]], {n, 0, 100}]
%K nonn,base
%O 0,1
%A _Roger L. Bagula_ and _Alexander R. Povolotsky_, Nov 27 2008