login
A072473
a(n) = prime(2*n) - prime(n).
16
1, 4, 8, 12, 18, 24, 26, 34, 38, 42, 48, 52, 60, 64, 66, 78, 80, 90, 96, 102, 108, 114, 116, 134, 132, 138, 148, 156, 162, 168, 166, 180, 180, 198, 200, 208, 216, 220, 230, 236, 242, 252, 252, 264, 266, 280, 280, 280, 294, 312, 324, 330, 336, 342, 344, 350, 350
OFFSET
1,2
COMMENTS
a(n) > prime(n) for n > 1. - Charles R Greathouse IV, Nov 22 2013
Sequence is not monotonic. - Zak Seidov, Feb 15 2015
LINKS
FORMULA
a(n) = A066066(n) + A000040(n). - Reinhard Zumkeller, Jul 25 2010
MATHEMATICA
Table[ Prime[2n] - Prime[n], {n, 1, 60}]
PROG
(PARI) a(n) = prime(2*n) - prime(n); \\ Michel Marcus, Nov 22 2013
(Magma) [NthPrime(2*n) - NthPrime(n): n in [1..80]]; // Vincenzo Librandi, Feb 16 2015
CROSSREFS
Cf. A072715.
Sequence in context: A311621 A311622 A311623 * A072715 A311624 A311625
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jun 20 2002
EXTENSIONS
Edited by Robert G. Wilson v and Jim Nastos, Jun 21 2002
STATUS
approved