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”).
%I #6 Jun 06 2014 17:15:56
%S 25,2,38,5,17,10,6,19,1,7,55,86,8,124,53,14,3,33,23,34,11,65,176,171,
%T 145,69,675,42,62,67,551,273,215,4,562,1936,930,208,477,3472,1152,384,
%U 167,1322,2660,243,1225,910,401,690,1720,1852,10817,128,2185,1636
%N In decimal expansion of Pi=3.1415... : smallest k such that the (k+n)-th position equals the k-th position.
%C a(n) = Min{k: A094581(k)=n};
%C a(n) = Min{k: k>0 and A000796(n+k)=A000796(k)}.
%K nonn,base
%O 1,1
%A _Reinhard Zumkeller_, May 13 2004