login

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

a(n) = prime(3*n) - prime(2*n).
1

%I #12 Sep 08 2022 08:46:11

%S 2,6,10,18,18,24,30,36,42,42,58,62,66,74,84,92,94,100,106,108,126,124,

%T 148,136,150,158,168,170,178,182,194,192,206,220,222,234,234,236,246,

%U 250,256,268,284,286,298,308,320,324,332,322,326,342,360,360,376,384

%N a(n) = prime(3*n) - prime(2*n).

%C The sequence is not monotonic since, for instance, a(22) = 124 < 126 = a(21).

%t Table[Prime[3n]-Prime[2n], {n,100}]

%o (Magma) [NthPrime(3*n) - NthPrime(2*n): n in [1..80]]; // _Vincenzo Librandi_, Feb 16 2015

%Y Cf. A072473.

%K nonn

%O 1,1

%A _Zak Seidov_, Feb 15 2015

%E More terms from _Vincenzo Librandi_, Feb 16 2015