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 #9 Apr 28 2024 12:37:43
%S 2,1,0,0,2,-2,1,1,3,1,1,7,8,5,5,6,11,7,6,8,8,7,6,11,12,13,9,11,11,10,
%T 18,9,15,14,19,15,17,21,20,18,22,18,19,15,17,17,21,26,24,20,22,20,20,
%U 28,27,25,28,25,24,22,17,29,33,35,27,28,33,35,39,34,36,37,35,39,34,36,42,38,36,37,40,40,48,47,45,38,41,40
%N It seems that the n-th prime p appears in A064413 at around position 2*p; if in fact A064413(w) = p then set a(n) = 2*p-w.
%C This is the amount by which p appears in advance of its expected position.
%H N. J. A. Sloane, <a href="/A352194/b352194.txt">Table of n, a(n) for n = 1..690</a>
%F a(n) = 2*A008578(n) - A064955(n-1).
%Y Cf. A008578, A064413, A064955.
%K sign
%O 1,1
%A _N. J. A. Sloane_, Mar 13 2022