login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

a(n) = prime(nonprime(n)) - nonprime(prime(n)).
0

%I #4 Mar 30 2012 18:52:35

%S 1,3,5,9,7,9,12,16,14,13,17,20,17,21,25,25,21,21,17,19,35,32,28,31,25,

%T 31,33,33,39,47,33,30,47,49,39,39,37,43,44,44,43,41,38,48,58,59,47,35,

%U 50,58,55,59,71,64,61,61,62,71,75,71,81,75,62,63,69,70,57,63,59,61,63

%N a(n) = prime(nonprime(n)) - nonprime(prime(n)).

%F a(n)=A007821(n)-A144570(n).

%Y Cf. A007821(the "nonprime primes"), A144570(the "prime nonprimes").

%K nonn

%O 1,2

%A _Juri-Stepan Gerasimov_, Nov 22 2009

%E Corrected (38 replaced by 28, 49 by 59) _R. J. Mathar_, Jun 04 2010